]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: test EROFS vs. EEXIST when creating on an RO filesystem
authorEric Sandeen <sandeen@sandeen.net>
Wed, 9 Jan 2013 16:17:59 +0000 (10:17 -0600)
committerBen Myers <bpm@sgi.com>
Mon, 21 Jan 2013 22:42:04 +0000 (16:42 -0600)
commit2f136d62bf4527e03ebae9298bdd4fd743d8699c
tree68e64dd546fe1c2c2707b2f0937fc1b3d0d3897d
parent26966520cc82ce425aa33bcb3652c6deeed86583
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>
294 [new file with mode: 0644]
294.out [new file with mode: 0644]
group