]> git.sur5r.net Git - u-boot/commit
test: ums: Add sleep before unmount directory
authorLukasz Majewski <l.majewski@samsung.com>
Fri, 7 Nov 2014 13:05:55 +0000 (14:05 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 14 Nov 2014 20:09:12 +0000 (21:09 +0100)
commitfbd3b79d77b136e85c115c09aaf5c9ce40446850
treecaae0c1ff45cfca498eb95c04314176296f73dbd
parent5610b05789fb6f6af7e13ac8e7cac99e0b2422c7
test: ums: Add sleep before unmount directory

This change helps to run script on machines with quite long uptime.
Without this the following error emerges:

File: ./dat_14M.img
umount: /mnt/tmp-ums-test: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
TX: md5sum:083d3d22b542d3ecba61b12d17e03f9f
mount: /dev/sdd6 already mounted or /mnt/tmp-ums-test busy
mount: according to mtab, /dev/sdd6 is already mounted on /mnt/tmp-ums-test

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
test/ums/ums_gadget_test.sh