summaryrefslogtreecommitdiff
path: root/tests/fsck-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fsck-tests')
-rwxr-xr-xtests/fsck-tests/012-leaf-corruption/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fsck-tests/012-leaf-corruption/test.sh b/tests/fsck-tests/012-leaf-corruption/test.sh
index 98e31856..f8701ad7 100755
--- a/tests/fsck-tests/012-leaf-corruption/test.sh
+++ b/tests/fsck-tests/012-leaf-corruption/test.sh
@@ -86,7 +86,7 @@ check_leaf_corrupt_no_data_ext()
{
image=$1
mkdir -p $TEST_MNT || _fail "failed to create mount point"
- $SUDO_HELPER mount $image -o ro $TEST_MNT
+ $SUDO_HELPER mount -o loop $image -o ro $TEST_MNT
i=0
while [ $i -lt ${#leaf_no_data_ext_list[@]} ]; do