Files
apfstests/294.out
T
Eric Sandeen 2f136d62bf xfstests: test EROFS vs. EEXIST when creating on an RO filesystem
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>
2013-01-21 16:42:04 -06:00

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