xfstests: do not call attr/getfattr/setfattr direcly

always use the full path set up in common.attr.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
Christoph Hellwig
2010-10-21 20:07:31 +00:00
committed by Alex Elder
parent d0b69e2ee6
commit 3d3893eef9
6 changed files with 126 additions and 122 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_attr()
{
attr $* 2>$tmp.err >$tmp.out
${ATTR_PROG} $* 2>$tmp.err >$tmp.out
exit=$?
sed \
-e "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g" \
@@ -60,7 +60,7 @@ _attr()
_getfattr()
{
getfattr $* 2>$tmp.err >$tmp.out
${GETFATTR_PROG} $* 2>$tmp.err >$tmp.out
exit=$?
sed \
-e "s#$SCRATCH_MNT[^ .:]*#<TESTFILE>#g" \