mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
781bf49055
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>
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
QA output created by 398
|
|
|
|
*** Link encrypted <= encrypted ***
|
|
ln: failed to create hard link 'SCRATCH_MNT/edir2/efile1' => 'SCRATCH_MNT/edir1/efile1': Operation not permitted
|
|
|
|
*** Rename encrypted => encrypted ***
|
|
mv: cannot move 'SCRATCH_MNT/edir1/efile1' to 'SCRATCH_MNT/edir2/efile1': Operation not permitted
|
|
|
|
|
|
*** Link unencrypted <= encrypted ***
|
|
ln: failed to create hard link 'SCRATCH_MNT/edir1/ufile' => 'SCRATCH_MNT/udir/ufile': Operation not permitted
|
|
|
|
*** Rename unencrypted => encrypted ***
|
|
mv: cannot move 'SCRATCH_MNT/udir/ufile' to 'SCRATCH_MNT/edir1/ufile': Operation not permitted
|
|
|
|
|
|
*** Link encrypted <= unencrypted ***
|
|
'SCRATCH_MNT/udir/efile1' => 'SCRATCH_MNT/edir1/efile1'
|
|
|
|
*** Rename encrypted => unencrypted ***
|
|
'SCRATCH_MNT/edir1/efile1' -> 'SCRATCH_MNT/udir/efile1'
|
|
|
|
|
|
*** Exchange encrypted <=> encrypted ***
|
|
Operation not permitted
|
|
|
|
*** Exchange unencrypted <=> encrypted ***
|
|
Operation not permitted
|
|
|
|
*** Exchange encrypted <=> unencrypted ***
|
|
Operation not permitted
|
|
|
|
|
|
*** Special file tests ***
|
|
'SCRATCH_MNT/edir1/fifo' -> 'SCRATCH_MNT/edir2/fifo'
|
|
'SCRATCH_MNT/edir2/fifo' -> 'SCRATCH_MNT/udir/fifo'
|
|
'SCRATCH_MNT/udir/fifo' -> 'SCRATCH_MNT/edir1/fifo'
|
|
'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
|