common/log: add _get_log_configs for testing options
[xfstests-dev.git] / tests / xfs / 086
index 1f81c1b802afa1304a42f3a43b8029da3c9ec982..0cc50085834f7f493808d046e5c03cd74cf0874d 100755 (executable)
@@ -51,20 +51,7 @@ _require_v2log
 echo "*** init FS"
 umount $SCRATCH_DEV >/dev/null 2>&1
 
-cat >$tmp.seq.params <<EOF
-# mkfs-opt             mount-opt
-# ------------------------------
-  version=2            logbsize=32k
-  version=2,su=4096    logbsize=32k
-  version=2,su=32768   logbsize=32k
-  version=2,su=32768   logbsize=64k
-  version=2            logbsize=64k
-  version=2,su=64k     logbsize=64k
-  version=2            logbsize=128k
-  version=2,su=128k    logbsize=128k
-  version=2            logbsize=256k
-  version=2,su=256k    logbsize=256k
-EOF
+_get_log_configs > $tmp.seq.params
 
 # Do the work for various log params which
 # should not effect the data content of the log