Message ID | 76b81aa654ad49579fd9be352c0be71314e510fd.1437978914.git.zhaolei@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/tests/convert-tests.sh b/tests/convert-tests.sh index 14dde1f..efed90b 100755 --- a/tests/convert-tests.sh +++ b/tests/convert-tests.sh @@ -43,7 +43,7 @@ convert_test() { # create a file to check btrfs-convert can convert regular file # correct - run_check $SUDO_HELPER mount $IMAGE $TEST_MNT + run_check $SUDO_HELPER mount -o loop $IMAGE $TEST_MNT run_check $SUDO_HELPER dd if=/dev/zero of=$TEST_MNT/test bs=$nodesize \ count=1 1>/dev/null 2>&1 run_check $SUDO_HELPER umount $TEST_MNT