mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
1fc1737959
Casefold rename test should check if renaming a file to an equivalent
name fails as expect (e.g. renaming from "file.txt" to "FILE.TXT") and
`mv` correctly identifies that those names refers to the same file.
Currently, the test doesn't do what is expected given that it doesn't
have the file to be renamed, and `mv` returns "No such file or
directory". Fix that by creating test files and checking the correct
output.
Fixes: 12b7dddbc2 ("generic: Add tests for filename casefolding feature")
Signed-off-by: André Almeida <andrealmeid@collabora.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
17 lines
577 B
Plaintext
17 lines
577 B
Plaintext
QA output created by 556
|
|
SCRATCH_MNT/basic Casefold
|
|
SCRATCH_MNT/basic
|
|
SCRATCH_MNT/casefold_flag_removal Casefold
|
|
SCRATCH_MNT/casefold_flag_removal Casefold
|
|
SCRATCH_MNT/flag_inheritance/d1/d2/d3 Casefold
|
|
SCRATCH_MNT/symlink/ind1/TARGET
|
|
mv: 'SCRATCH_MNT/rename/rename' and 'SCRATCH_MNT/rename/RENAME' are the same file
|
|
# file: SCRATCH_MNT/xattrs/x
|
|
user.foo="bar"
|
|
|
|
# file: SCRATCH_MNT/xattrs/x/f1
|
|
user.foo="bar"
|
|
|
|
touch: setting times of 'SCRATCH_MNT/strict/corac'$'\314\247\303': Invalid argument
|
|
touch: setting times of 'SCRATCH_MNT/strict/cora'$'\303\247\303': Invalid argument
|