QA test 004 updated to stash full mkfs output in .full file for reference
[xfstests-dev.git] / 004
diff --git a/004 b/004
index e87539806f626c476250abbc4171028968ac7d54..c1332b14e37443a2af095d18bcf3910c0415cd71 100755 (executable)
--- a/004
+++ b/004
@@ -56,7 +56,8 @@ trap "_cleanup" 0 1 2 3 15
 
 _populate_scratch()
 {
-       mkfs_xfs $SCRATCH_DEV | _filter_mkfs 2>$tmp.mkfs
+       echo "=== mkfs output ===" >>$seq.full
+       mkfs_xfs $SCRATCH_DEV | tee -a $seq.full | _filter_mkfs 2>$tmp.mkfs
        source $tmp.mkfs
        mount -t xfs $SCRATCH_DEV $SCRATCH_MNT
        dd if=/dev/zero of=$SCRATCH_MNT/foo count=200 bs=4096 >/dev/null 2>&1 &