QA test updates for external log/rt devices.
[xfstests-dev.git] / 016
diff --git a/016 b/016
index 164bae07767cbcdbd4cd10d3e02ea6e69c83ce14..705e63b2e9bd66ddf95ed7f9ff886e16c19d9963 100755 (executable)
--- a/016
+++ b/016
@@ -80,7 +80,10 @@ _init()
     echo "*** mkfs"
     force_opts="-dsize=50m -lsize=2097152"
     echo mkfs_xfs $force_opts $SCRATCH_DEV >>$seq.full
-    _scratch_mkfs_xfs $force_opts | _filter_mkfs >/dev/null 2>$tmp.mkfs
+    _scratch_mkfs_xfs $force_opts >$tmp.mkfs0 2>&1
+    [ $? -ne 0 ] && \
+        _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"
+    _filter_mkfs <$tmp.mkfs0 >/dev/null 2>$tmp.mkfs
     source $tmp.mkfs
 }