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
+3 -3
View File
@@ -138,16 +138,16 @@ echo "restore perms on file"
chmod 777 $file
echo "set a root EA on file"
attr -R -s test -V testval $file | _filefilter
${ATTR_PROG} -R -s test -V testval $file | _filefilter
echo "list EA on file"
attr -R -l $file | _filefilter
${ATTR_PROG} -R -l $file | _filefilter
echo "as non-root try to append to file"
$runas -u $uid $tmp.append 2>&1 | _filefilter
echo "list EA on file"
attr -R -l $file | _filefilter
${ATTR_PROG} -R -l $file | _filefilter
chown $uid $file
chmod ugo+w $testdir