]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/019: skip test when there is no journal
authorDarrick J. Wong <djwong@kernel.org>
Mon, 10 Nov 2025 18:27:04 +0000 (10:27 -0800)
committerZorro Lang <zlang@kernel.org>
Fri, 14 Nov 2025 18:54:37 +0000 (02:54 +0800)
This test checks a filesystem's ability to recover from a noncritical
disk failure (e.g. journal replay) without becoming inconsistent.  This
isn't true for any filesystem that doesn't have a journal, so we should
skip the test on those platforms.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/019

index 00badf6dc320b20d5b769cd8d786bb29daff5dc6..3ea88e2e94e2204c78a935d2127c9d4b10a62e52 100755 (executable)
@@ -126,6 +126,7 @@ _workout()
 
 
 _scratch_mkfs >> $seqres.full 2>&1 || _fail "mkfs failed"
+_require_metadata_journaling $SCRATCH_DEV
 _scratch_mount
 _allow_fail_make_request
 _workout