aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-10-12 22:25:29 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-10-12 22:25:29 -0400
commit128c943ef2a0a82b8a4a8a9ca66f459e107bc877 (patch)
tree4016ab824db68c9702172f2fefc5341034fab482 /tests
parent832cb612f8c1c10525fe438206d4fe5c6d38a4e7 (diff)
downloade2fsprogs-128c943ef2a0a82b8a4a8a9ca66f459e107bc877.tar.gz
tests: remove version number dependency in r_min_itable
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/r_min_itable/expect2
-rw-r--r--tests/r_min_itable/script8
2 files changed, 6 insertions, 4 deletions
diff --git a/tests/r_min_itable/expect b/tests/r_min_itable/expect
index 104688a1..ddb5a377 100644
--- a/tests/r_min_itable/expect
+++ b/tests/r_min_itable/expect
@@ -4,7 +4,7 @@ Resizing the filesystem on test.img to 1124 (1k) blocks.
The filesystem on test.img is now 1124 blocks long.
Exit status is 0
-e2fsck 1.42.8 (20-Jun-2013)
+fsck -yf -N test_filesys test.img
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
diff --git a/tests/r_min_itable/script b/tests/r_min_itable/script
index 00aaa60e..281fd5a6 100644
--- a/tests/r_min_itable/script
+++ b/tests/r_min_itable/script
@@ -13,11 +13,13 @@ echo "resize2fs -M test.img" >> $OUT
$RESIZE2FS -M $TMPFILE 2>&1 >> $OUT.new 2>&1
status=$?
echo Exit status is $status >> $OUT.new
-sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
-$FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT 2>&1
-echo Exit status is $status >> $OUT
+echo " "
+echo fsck $FSCK_OPT -N test_filesys test.img >> $OUT.new
+$FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
+echo Exit status is $status >> $OUT.new
+sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
rm $TMPFILE $OUT.new
#