]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Filter out CR characters from the output, since BK filtered \r fromthe
authorTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2001 00:29:54 +0000 (20:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 Jun 2001 00:29:54 +0000 (20:29 -0400)
expect files.  This is needed to make the regression test suite work
again.

tests/ChangeLog
tests/defaults/e_script
tests/run_e2fsck

index f95e8dc0a65f58a5a43c10b03458f18bf015fbc7..ea5f5ad98b9f130e664e57c10c9582177b936a96 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-22  Theodore Tso  <tytso@valinux.com>
+
+       * run_e2fsck, defaults/e_script: Filter out CR characters from the
+               output, since BK filtered \r fromthe expect files.  This
+               is needed to make the regression test suite work again.
+
 2001-06-15  Theodore Tso  <tytso@valinux.com>
 
        * Release of E2fsprogs 1.21
index d1f460be14efc18f1340b20be668afe24ea0af09..4f88e23e4dd6a85ea7b49136cd768f17b3725b00 100644 (file)
@@ -29,7 +29,7 @@ else
 fi
 
 cat $SRCDIR/progs/test_data/$instance.setup $SRCDIR/progs/test_data/test.$class \
-    | $TEST_PROG -f - > $OUT 2>&1
+    | $TEST_PROG -f - 2>&1 | tr -d '\r' > $OUT 
 
 cmp -s $EXPECT $OUT
 status=$?
index f950635cd85930baaec3bdc75d725cb9ee18c452..6f8f691eb02c8b8ef01822beb41ad2b9242d5b5a 100644 (file)
@@ -33,7 +33,7 @@ eval $PREP_CMD
 $FSCK $FSCK_OPT  -N test_filesys $TMPFILE > $OUT1.new 2>&1
 status=$?
 echo Exit status is $status >> $OUT1.new
-sed -e '1d' -e '/^JFS DEBUG:/d' $OUT1.new > $OUT1
+sed -e '1d' -e '/^JFS DEBUG:/d' $OUT1.new | tr -d '\r' > $OUT1
 rm -f $OUT1.new
 
 if [ "$ONE_PASS_ONLY" != "true" ]; then