]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/398: update errors to be returned when doing cross renames w/o keys
authorTheodore Ts'o <tytso@mit.edu>
Fri, 3 Feb 2017 16:25:37 +0000 (11:25 -0500)
committerEryu Guan <eguan@redhat.com>
Sat, 4 Feb 2017 06:16:43 +0000 (14:16 +0800)
The bug fix that ultimately landed in the fscrypt tree will return
ENOKEY instead of EPERM when doing a cross rename involving a
directory where the key is not available.  So fix up the golden output
for generic/398 accordingly.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Eric Biggers <ebiggers3@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/398.out

index f92748782b3e1ad75615b4b2b58f562766335ca5..8e08270deabb75da687c6b6dc4293871f5fc53f6 100644 (file)
@@ -39,7 +39,7 @@ Operation not permitted
 
 
 *** Exchange encrypted <=> encrypted without key ***
-Operation not permitted
+Required key not available
 
 *** Exchange encrypted <=> unencrypted without key ***
-Operation not permitted
+Required key not available