]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
tests: remove version number dependency in r_min_itable
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 Oct 2013 02:25:29 +0000 (22:25 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Oct 2013 02:25:29 +0000 (22:25 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
tests/r_min_itable/expect
tests/r_min_itable/script

index 104688a1ff0d99ac471d7b9106cc5cbc8aefafd2..ddb5a377bb4924d41ff01a3f703c551fde6fb0e3 100644 (file)
@@ -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
index 00aaa60e3f01b003d924a4741be3de73d5ba04a7..281fd5a6268101f2babe45026bb92225176aad1d 100644 (file)
@@ -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
 
 #