xfstests: ensure selinux xattrs don't interfere with quota tests
authorEric Sandeen <sandeen@sandeen.net>
Mon, 4 Apr 2011 18:49:19 +0000 (13:49 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 4 Apr 2011 18:49:19 +0000 (13:49 -0500)
commit188cf0a6d370f363c9aa8e8ba66e4f24f2a260aa
treed39bfa1a5863e784f65b39cc75dcc37e6af43edc
parent4342e767089ffda9924e0011695363b8d1f98c49
xfstests: ensure selinux xattrs don't interfere with quota tests

219 and 235 were failing on ext3 with selinux, because the extra
xattrs upped the quota usage.

Do the same trick we've used in the past to mount with an selinux
global context when doing quota tests.

Note the gross hack for remount,ro, though.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
235
common.quota