]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: Add test coverage for fs-verity support
authorAlexander Larsson <alexl@redhat.com>
Mon, 10 Jul 2023 09:07:13 +0000 (11:07 +0200)
committerZorro Lang <zlang@kernel.org>
Sun, 23 Jul 2023 04:56:22 +0000 (12:56 +0800)
commitf2c9af189a76ecd0920466fb4afd8e542a5dc5e9
tree9af56cf0facdc913fbaedd2c9745ef4442aa7d36
parent019122400875a59b02e35dc5d49e31c9b7b704e0
overlay: Add test coverage for fs-verity support

This tests that the right xattrs are set during copy-up, and
that we properly fail on missing of erronous fs-verity digests
when validating.

We also ensure that verity=require fails if a metacopy has not
fs-verity, and doesn't do a meta-coopy-up if the base file lacks
verity.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/overlay
common/verity
tests/overlay/080 [new file with mode: 0755]
tests/overlay/080.out [new file with mode: 0644]