generic: require journal in shutdown tests
authorEryu Guan <eguan@redhat.com>
Mon, 6 Mar 2017 11:45:57 +0000 (19:45 +0800)
committerEryu Guan <eguan@redhat.com>
Thu, 9 Mar 2017 07:01:43 +0000 (15:01 +0800)
commit11a3e8bd821cb96f1fa6036263f933581296ba26
tree1dbab4639c30f11788ffb6b167389942f5f30a17
parent726726d71d7798767c775eef4be747d048ec8d70
generic: require journal in shutdown tests

Tests in shutdown group are supposed to test journal recovery after
filesystem shutdown, and the tests assume the filesystem in test has
journal support. But with the ext4 shutdown function added in
4.11-rc kernel, ext2 gains shutdown support too when driving with
ext4 driver, so generic/051 fails because fs corruption after test.

Adding _require_metadata_journaling to all generic tests in shutdown
group to ensure there's journal present.

generic/050 is skipped because it has _require_scratch_nocheck,
which indicates no fsck is done after test.

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eryu Guan <eguan@redhat.com>
14 files changed:
tests/generic/042
tests/generic/043
tests/generic/044
tests/generic/045
tests/generic/046
tests/generic/047
tests/generic/048
tests/generic/049
tests/generic/051
tests/generic/052
tests/generic/054
tests/generic/055
tests/generic/388
tests/generic/392