@@ -16,6 +16,7 @@ _create_scratch()
{
echo "*** mkfs"
_scratch_mkfs_xfs $@ | tee -a $seqres.full | _filter_mkfs 2>$tmp.mkfs
+ test "${PIPESTATUS[0]}" -eq 0 || _notrun "formatting small scratch fs failed"
. $tmp.mkfs
echo "*** mount"
@@ -18,7 +18,8 @@ _require_command "$XFS_MDRESTORE_PROG" "xfs_mdrestore"
# real QA test starts here
_require_scratch
logblks=$(_scratch_find_xfs_min_logblocks -n size=16k -d size=133m)
-_scratch_mkfs_xfs -n size=16k -l size=${logblks}b -d size=133m >> $seqres.full 2>&1
+_scratch_mkfs_xfs -n size=16k -l size=${logblks}b -d size=133m >> $seqres.full 2>&1 || \
+ _notrun "formatting small scratch fs failed"
_scratch_mount
# First we cause very badly fragmented freespace, then