aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-02-03 11:25:37 -0500
committerEryu Guan <eguan@redhat.com>2017-02-04 14:16:43 +0800
commit781bf49055d8127a15c061d6cda27af455e38584 (patch)
tree652f4533630cb941113539f0701128ee7077778a
parent3d99741cebfa2880000eb27d094851aade907418 (diff)
downloadxfstests-dev-781bf49055d8127a15c061d6cda27af455e38584.tar.gz
generic/398: update errors to be returned when doing cross renames w/o keys
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>
-rw-r--r--tests/generic/398.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic/398.out b/tests/generic/398.out
index f92748782b..8e08270dea 100644
--- a/tests/generic/398.out
+++ b/tests/generic/398.out
@@ -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