mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
86ce63ac21
Update generic/398 to pass after kernel commit f5e55e777cc9 ("fscrypt:
return -EXDEV for incompatible rename or link into encrypted dir"),
which intentionally changed some error codes from EPERM to EXDEV in
order to allow standard tools like 'mv' to move files into an encrypted
directory.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
QA output created by 398
|
|
|
|
*** Link encrypted <= encrypted ***
|
|
ln: failed to create hard link 'SCRATCH_MNT/edir2/efile1' => 'SCRATCH_MNT/edir1/efile1': Invalid cross-device link
|
|
|
|
*** Rename encrypted => encrypted ***
|
|
Invalid cross-device link
|
|
|
|
|
|
*** Link unencrypted <= encrypted ***
|
|
ln: failed to create hard link 'SCRATCH_MNT/edir1/ufile' => 'SCRATCH_MNT/udir/ufile': Invalid cross-device link
|
|
|
|
*** Rename unencrypted => encrypted ***
|
|
Invalid cross-device link
|
|
|
|
|
|
*** Link encrypted <= unencrypted ***
|
|
'SCRATCH_MNT/udir/efile1' => 'SCRATCH_MNT/edir1/efile1'
|
|
|
|
*** Rename encrypted => unencrypted ***
|
|
|
|
|
|
*** Exchange encrypted <=> encrypted ***
|
|
Invalid cross-device link
|
|
|
|
*** Exchange unencrypted <=> encrypted ***
|
|
Invalid cross-device link
|
|
|
|
*** Exchange encrypted <=> unencrypted ***
|
|
Invalid cross-device link
|
|
|
|
|
|
*** Special file tests ***
|
|
'SCRATCH_MNT/edir2/fifo' => 'SCRATCH_MNT/edir1/fifo'
|
|
|
|
|
|
*** Exchange encrypted <=> encrypted without key ***
|
|
Required key not available
|
|
|
|
*** Exchange encrypted <=> unencrypted without key ***
|
|
Required key not available
|