From: Theodore Ts'o Date: Tue, 11 Jun 2024 22:26:59 +0000 (-0400) Subject: generic/455: skip the test if the file system doesn't support journaling X-Git-Tag: v2024.06.27~35 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3a789af2b1e882aa7d643a885b9aabc9fbff22f9;p=xfstests-dev.git generic/455: skip the test if the file system doesn't support journaling This test uses dm-log-writes to test power fail scenarios, so it won't work if the file system doesn't support metadata journaling. Signed-off-by: Theodore Ts'o Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/tests/generic/455 b/tests/generic/455 index da803de0..6dce8a65 100755 --- a/tests/generic/455 +++ b/tests/generic/455 @@ -65,6 +65,9 @@ _log_writes_init $DMTHIN_VOL_DEV _log_writes_mkfs >> $seqres.full 2>&1 +# This test requires metadata journaling since it simulates a power failure +_require_metadata_journaling "$LOGWRITES_DMDEV" + # Log writes emulates discard support, turn it on for maximum crying. _log_writes_mount -o discard