generic/398: remove workarounds for wrong error codes
authorEric Biggers <ebiggers@google.com>
Sat, 31 Oct 2020 05:41:41 +0000 (22:41 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 1 Nov 2020 16:25:08 +0000 (00:25 +0800)
commit59b43407a9cc19574da396ee07318dc21d55d5cd
tree0102652ac6ec191ac6cf015894fbc7c699d1a2ea
parentfaf1f9356ef1194054e7f1994391573bb8536456
generic/398: remove workarounds for wrong error codes

generic/398 contains workarounds to allow for renames of encrypted files
to fail with different error codes.  However, these error codes were
fixed up by kernel commits f5e55e777cc9 ("fscrypt: return -EXDEV for
incompatible rename or link into encrypted dir") and 0c1ad5242d4f
("ubifs: switch to fscrypt_prepare_rename()").

It's been long enough, so update the test to expect the correct behavior
only, so we don't accidentally reintroduce the wrong behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/398