Whamcloud - gitweb
LU-517 tests: don't fail mkstemp() on Lustre fs 21/1321/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 1 Sep 2011 22:00:23 +0000 (16:00 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 1 Sep 2011 22:18:18 +0000 (16:18 -0600)
commit7178b715eb0ba5d55ee9cf51b75765e5c19ba67c
tree148bd8f98d5c4f56692babb256632bdebc23a7d3
parent7c8d124bc09bd237bc6ea605053a46751003a26d
LU-517 tests: don't fail mkstemp() on Lustre fs

The tst_read_ea test tries to find a filesystem with "user_xattr"
as a mount option (which the MDS mountpoint matches) and then tries
to create a temporary file in /mnt/mds via the VFS and read it back
via libext2fs and verify the value.  Unfortunately, it is not
possible to create files in /mnt/mds, so the test fails.

If mkstemp() fails, just continue looking for a suitable ext3/4
filesystem to run the test on.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I4a11b9edd7adf3cc76f364e3a900811aa242b0c1
patches/e2fsprogs-attr_cleanup.patch