test-imagex-mount: Mount synchronously
authorEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 00:26:39 +0000 (18:26 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 1 Jan 2013 00:26:39 +0000 (18:26 -0600)
tests/test-imagex-mount

index 3be51a11b0247df12889d935805b00a243021e70..e8da925a8ef791bd301a0e715099cc6ae6bff04c 100755 (executable)
@@ -26,11 +26,7 @@ imagex_info() {
 
 imagex_mountrw() {
        echo "imagex mountrw $@"
-       ../imagex mountrw --debug "$@" &> mount.log &
-       while ! mountpoint $2 >& /dev/null; do
-               sleep 0.01;
-       done
-       return 0
+       ../imagex mountrw "$@"
 }
 
 cleanup() {