Prevent test 016 from running if mkfs options create an unworkable log for its purposes.
[xfstests-dev.git] / 016
diff --git a/016 b/016
index 0b0ce507529a82ad3e09d5869c61e4dd37f6e2cb..6f79d6d4aed77a218ac259be36c7b0989afabdfe 100755 (executable)
--- a/016
+++ b/016
@@ -57,6 +57,8 @@ _init()
         _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"
     _filter_mkfs <$tmp.mkfs0 >/dev/null 2>$tmp.mkfs
     . $tmp.mkfs
+    [ $logsunit -ne 0 ] && \
+        _notrun "Cannot run this test using log MKFS_OPTIONS specified"
 }
 
 _log_traffic()