expect files. This is needed to make the regression test suite work
again.
+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
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=$?
$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