All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic: update errors to be returned when doing cross renames w/o keys
@ 2017-02-03 16:25 Theodore Ts'o
  0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2017-02-03 16:25 UTC (permalink / raw)
  To: fstests; +Cc: Theodore Ts'o, Eric Biggers

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>
---
 tests/generic/398.out | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/generic/398.out b/tests/generic/398.out
index f9274878..8e08270d 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
-- 
2.11.0.rc0.7.gbe5a750


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-03 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03 16:25 [PATCH] generic: update errors to be returned when doing cross renames w/o keys Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.