From 66eb45b96563be387c1a2b39d1c0082692edbbc8 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 17 May 2015 00:15:12 -0400 Subject: [PATCH] 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 --- tests/m_hugefile_slack/expect | 2 +- tests/m_hugefile_slack/script | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/m_hugefile_slack/expect b/tests/m_hugefile_slack/expect index 96a628a4..f740cdb9 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 eecb2d7c..3a0f0578 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 -