From: Theodore Ts'o Date: Sun, 17 May 2015 04:15:12 +0000 (-0400) Subject: tests: clean up the script for m_hugefile_slack X-Git-Tag: v1.43-WIP-2015-05-18~6 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=66eb45b96563be387c1a2b39d1c0082692edbbc8;p=tools%2Fe2fsprogs.git tests: clean up the script for m_hugefile_slack This test doesn't require resize2fs or debugfs, so remove those checks. Signed-off-by: Theodore Ts'o --- diff --git a/tests/m_hugefile_slack/expect b/tests/m_hugefile_slack/expect index 96a628a..f740cdb 100644 --- a/tests/m_hugefile_slack/expect +++ b/tests/m_hugefile_slack/expect @@ -1,4 +1,4 @@ -tune2fs test +mke2fs -F -T ext4h -I 128 test.img 786432 Creating filesystem with 786432 1k blocks and 98304 inodes Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553 diff --git a/tests/m_hugefile_slack/script b/tests/m_hugefile_slack/script index eecb2d7..3a0f057 100644 --- a/tests/m_hugefile_slack/script +++ b/tests/m_hugefile_slack/script @@ -1,5 +1,3 @@ -if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then - FSCK_OPT=-fn OUT=$test_name.log EXP=$test_dir/expect @@ -23,8 +21,7 @@ cat > $CONF << ENDL } ENDL -echo "tune2fs test" > $OUT - +echo "mke2fs -F -T ext4h -I 128 test.img 786432" > $OUT MKE2FS_CONFIG=$CONF $MKE2FS -F -T ext4h -I 128 $TMPFILE 786432 >> $OUT 2>&1 rm -rf $CONF @@ -54,8 +51,3 @@ else fi unset IMAGE FSCK_OPT OUT EXP CONF - -else #if test -x $RESIZE2FS_EXE -a -x $DEBUGFS_EXE; then - echo "$test_name: $test_description: skipped" -fi -