Hey Eric, On Wed, Jan 09, 2013 at 10:17:59AM -0600, Eric Sandeen wrote: > 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@xxxxxxxxxx> > --- > > V2: Change test dir var name, do scratch mkfs, drop _fail > V3: Use common _filter_ln ... > diff --git a/293 b/293 > new file mode 100755 > index 0000000..9013f9a > --- /dev/null > +++ b/293 > @@ -0,0 +1,73 @@ ... > +_create_files() > +{ > + mknod $THIS_TEST_DIR/testnode c 1 3 > + mkdir $THIS_TEST_DIR/testdir > + touch $THIS_TEST_DIR/testtarget > + ln -s $THIS_TEST_DIR/testtarget $THIS_TEST_DIR/testlink | _filter_ln ^ Added 2>&1 Applied this as test 294 and the ln filter patch, with one minor change as above. Thanks, Ben _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs