]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
ext4/021: add _require_metadata_journaling
authorEric Whitney <enwlinux@gmail.com>
Thu, 7 Jul 2016 20:12:02 +0000 (16:12 -0400)
committerEryu Guan <eguan@redhat.com>
Fri, 8 Jul 2016 02:51:54 +0000 (10:51 +0800)
An ext4 file system can be created without a journal, but ext4/021
presumes it will contain one.  Make that requirement explicit to
avoid unnecessary failures when testing "nojournal" file systems.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/ext4/021

index 9dfd1918f35522acf15711f5290599a8072e8c02..d758818baa84961bb41e3da04359f33f0e318544 100755 (executable)
@@ -48,6 +48,7 @@ _supported_fs ext4
 _supported_os Linux
 _require_scratch
 _require_dumpe2fs
+_require_metadata_journaling $SCRATCH_DEV
 
 # 8M in bytes
 fssize=$((8 * 1024 * 1024))