Message ID | 1428044477-18485-3-git-send-email-quwenruo@cn.fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/tests/fsck-tests/012-leaf-corruption/test.sh b/tests/fsck-tests/012-leaf-corruption/test.sh index fe5c226..4db4710 100755 --- a/tests/fsck-tests/012-leaf-corruption/test.sh +++ b/tests/fsck-tests/012-leaf-corruption/test.sh @@ -85,10 +85,6 @@ check_inode() check_leaf_corrupt_no_data_ext() { image=$1 - if [ -z $TEST_MNT ]; then - echo "\$TEST_MNT not set, use $(pwd)/tmp as fallback" - TEST_MNT="$(pwd)/tmp" - fi mkdir -p $TEST_MNT || _fail "failed to create mount point" $SUDO_HELPER mount $image -o ro $TEST_MNT
Since we have already had TEST_MNT fallback setup to $TOP/tests/mnt, just remove duplicated setting in 012-leaf-corruption/test.sh Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> --- tests/fsck-tests/012-leaf-corruption/test.sh | 4 ---- 1 file changed, 4 deletions(-)