generic: test enforcement of one encryption policy per tree
authorEric Biggers <ebiggers@google.com>
Thu, 15 Dec 2016 20:26:24 +0000 (12:26 -0800)
committerEryu Guan <eguan@redhat.com>
Sat, 24 Dec 2016 08:47:12 +0000 (16:47 +0800)
commit0f7a9791309e7a17889d581d8b63513950193477
tree6ee2da7bf562dc3381fda434f95cd05160d19502
parent758175fad3c6ebf213a8aad2b6a6388323e25a47
generic: test enforcement of one encryption policy per tree

Add an xfstest which verifies that the filesystem forbids operations
that would violate the constraint that all files in an encrypted
directory tree use the same encryption policy.

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