mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic: test validation of encryption policy structure
Add an xfstest which verifies the kernel performs basic validation of the encryption policy structure. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
QA output created by 396
|
||||
|
||||
*** Invalid contents encryption mode ***
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
|
||||
*** Invalid filenames encryption mode ***
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
|
||||
*** Invalid flags ***
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
|
||||
*** Invalid policy version ***
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
|
||||
*** Invalid combinations of modes ***
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
SCRATCH_MNT/dir: failed to set encryption policy: Invalid argument
|
||||
Reference in New Issue
Block a user