]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
ext4/044: skip test if the file system does not have a journal
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2022 14:46:32 +0000 (10:46 -0400)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Jul 2022 13:31:10 +0000 (21:31 +0800)
This test mounts the file system using "mount -t ext3"; if the file
system config creates the file system without the jbd2 journal, the
"mount -t ext3" will fail.  So skip this test in that case.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/ext4/044

index 46e44053d3e4f22d9d80f0f9e5b5d42b70ef1647..158e2ac50889856350265e22022268df16d1bd0d 100755 (executable)
@@ -16,6 +16,7 @@ _begin_fstest auto quick
 _supported_fs ext4
 _require_scratch
 _require_test_program "t_get_file_time"
+_require_metadata_journaling
 
 echo "Silence is golden"