fstests: add btrfs fs-verity send/recv test
authorBoris Burkov <boris@bur.io>
Fri, 19 Aug 2022 19:34:05 +0000 (12:34 -0700)
committerZorro Lang <zlang@kernel.org>
Sat, 20 Aug 2022 14:17:35 +0000 (22:17 +0800)
commit192f5297b54f601eae7047eb4e1e69ec5fd03b1e
treecfd24f37308845a5d333357d034ffdc5f57afc26
parent87d9aea81007d8f2f17985856a882e268f747b97
fstests: add btrfs fs-verity send/recv test

Test btrfs send/recv support for fs-verity. Includes tests for
signatures, salts, and interaction with chmod/caps. The last of those is
to ensure the various features that go in during inode_finalize interact
properly.

This depends on the kernel patch adding support for send:
btrfs: send: add support for fs-verity

And the btrfs-progs patch adding support for recv:
btrfs-progs: receive: add support for fs-verity

Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/277 [new file with mode: 0755]
tests/btrfs/277.out [new file with mode: 0644]