mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
2f136d62bf
TBH, I don't know if this is posix-specified, but I found out the hard way that when trying to re-create existing files on a readonly filesystem, some apps expect/handle EEXIST, but fail on EROFS. This will test mkdir, mknod, and symlinks for that behavior. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>
6 lines
301 B
Plaintext
6 lines
301 B
Plaintext
QA output created by 294
|
|
mknod: `SCRATCH_MNT/294.test/testnode': File exists
|
|
mkdir: cannot create directory `SCRATCH_MNT/294.test/testdir': File exists
|
|
touch: cannot touch `SCRATCH_MNT/294.test/testtarget': Read-only file system
|
|
ln: creating symbolic link `SCRATCH_MNT/294.test/testlink': File exists
|