Put the output of fsx into seq.full and output all of seq.full on failure.
authorTim Shimmin <tes@sgi.com>
Mon, 12 Feb 2007 05:08:57 +0000 (05:08 +0000)
committerTim Shimmin <tes@sgi.com>
Mon, 12 Feb 2007 05:08:57 +0000 (05:08 +0000)
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.

091

diff --git a/091 b/091
index bf76269c55a800ba548bc4306d99c2b54a49c62d..d4ef90924ebd7089dc308834272afdb4f057f267 100755 (executable)
--- a/091
+++ b/091
@@ -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
 }