Whamcloud - gitweb
tests: clean up the script for m_hugefile_slack
authorTheodore Ts'o <tytso@mit.edu>
Sun, 17 May 2015 04:15:12 +0000 (00:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 17 May 2015 04:19:29 +0000 (00:19 -0400)
This test doesn't require resize2fs or debugfs, so remove those
checks.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/m_hugefile_slack/expect
tests/m_hugefile_slack/script

index 96a628a..f740cdb 100644 (file)
@@ -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
index eecb2d7..3a0f057 100644 (file)
@@ -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
-