diff options
author | Tom Rini <trini@ti.com> | 2014-12-11 18:40:49 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-12-11 18:40:49 -0500 |
commit | fc9b0b80435cda721fbdbe507c9e4f388b0ea62b (patch) | |
tree | e50527455a67f1fc9f793f42d9672b237ac806f7 /test | |
parent | 2c49323d5de38e119f102fa3f5fb291c4bc4e8a0 (diff) | |
parent | 0c6de8853b2571251fdefe34598e0c344fe1372b (diff) | |
download | u-boot-fc9b0b80435cda721fbdbe507c9e4f388b0ea62b.tar.gz u-boot-fc9b0b80435cda721fbdbe507c9e4f388b0ea62b.tar.bz2 u-boot-fc9b0b80435cda721fbdbe507c9e4f388b0ea62b.zip |
Merge branch 'master' of git://git.denx.de/u-boot-usb
Conflicts:
board/freescale/mx6sxsabresd/mx6sxsabresd.c
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/ums/ums_gadget_test.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/ums/ums_gadget_test.sh b/test/ums/ums_gadget_test.sh index 56d4616376..9da486b266 100755 --- a/test/ums/ums_gadget_test.sh +++ b/test/ums/ums_gadget_test.sh @@ -11,6 +11,7 @@ clear COLOUR_RED="\33[31m" COLOUR_GREEN="\33[32m" +COLOUR_ORANGE="\33[33m" COLOUR_DEFAULT="\33[0m" DIR=./ @@ -59,8 +60,15 @@ ums_test_file () { fi cp ./$1 $MNT_DIR - umount $MNT_DIR + while true; do + umount $MNT_DIR > /dev/null 2>&1 + if [ $? -eq 0 ]; then + break + fi + printf "$COLOUR_ORANGE\tSleeping to wait for umount...$COLOUR_DEFAULT\n" + sleep 1 + done echo -n "TX: " calculate_md5sum $1 |