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.
{
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
}