generic: test general behavior of verity files
authorEric Biggers <ebiggers@google.com>
Mon, 30 Sep 2019 21:15:48 +0000 (14:15 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Oct 2019 13:01:41 +0000 (21:01 +0800)
commit16f52cac08a6b2bb74e319846507b26457e03ca3
tree29be2aa2c3e67cb2ee7afcb60b0f7b5a4e84ed7d
parent0467d90019ddfcd681810fb3fe9145ff62dcd726
generic: test general behavior of verity files

This is a basic fs-verity test which verifies:

- conditions for enabling verity
- verity files have expected contents and size
- can't change contents of verity files, but can change metadata
- can retrieve a verity file's measurement via FS_IOC_MEASURE_VERITY

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/572 [new file with mode: 0755]
tests/generic/572.out [new file with mode: 0644]
tests/generic/group