Put the output of fsx into seq.full and output all of seq.full on failure.

Just to give more context around the error if we get one.
Merge of master-melb:xfs-cmds:28068a by kenmcd.

  Put the output of fsx into seq.full and output all of seq.full on failure.
  Just to give more context around the error if we get one.
This commit is contained in:
Tim Shimmin
2007-02-12 05:08:57 +00:00
parent 7a66930c57
commit 7584d33f1b
+2 -3
View File
@@ -34,10 +34,9 @@ run_fsx()
{
echo fsx $@ | tee -a $seq.full | sed -e "s/ $bsize / BSIZE /g" -e "s/ $psize / PSIZE /g"
rm -f $TEST_DIR/junk
$here/ltp/fsx $@ $TEST_DIR/junk > $tmp.stdout 2> $tmp.stderr
$here/ltp/fsx $@ $TEST_DIR/junk >>$seq.full 2>&1
if [ $? -ne 0 ]; then
cat $tmp.stdout
cat $tmp.stderr
cat $seq.full
exit 1
fi
}