mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user