summaryrefslogtreecommitdiff
path: root/tests/run_e2fsck
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2002-02-12 02:34:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2002-02-12 02:34:44 -0500
commit7d4343d0d05ce69e0a72da5ac34eea415d4c789f (patch)
tree674ffced82e8ccbc4fd03e2bea1637ce04318490 /tests/run_e2fsck
parentd166e24a5459991090a2ba836ed2f946649d8678 (diff)
downloade2fsprogs-7d4343d0d05ce69e0a72da5ac34eea415d4c789f.tar.gz
Lots of small random portability fixes to make e2fsprogs build
under AIX --- even without the 5L compatibility toolkit, and even using the uber-crippled AIX native C compiler.
Diffstat (limited to 'tests/run_e2fsck')
-rw-r--r--tests/run_e2fsck4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run_e2fsck b/tests/run_e2fsck
index 6f8f691e..44cc2852 100644
--- a/tests/run_e2fsck
+++ b/tests/run_e2fsck
@@ -33,14 +33,14 @@ 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 | tr -d '\r' > $OUT1
+sed -e '1d' $OUT1.new | sed -e '/^JFS DEBUG:/d' | tr -d '\r' > $OUT1
rm -f $OUT1.new
if [ "$ONE_PASS_ONLY" != "true" ]; then
$FSCK $SECOND_FSCK_OPT -N test_filesys $TMPFILE > $OUT2.new 2>&1
status=$?
echo Exit status is $status >> $OUT2.new
- sed -e '1d' $OUT2.new -e '/^JFS DEBUG:/d' > $OUT2
+ sed -e '1d' $OUT2.new | sed -e '/^JFS DEBUG:/d' > $OUT2
rm -f $OUT2.new
fi