Don't hardcode paths to many binaries.

Stop hardcoding paths to getfattr, setfattr, attr, quota, xfs_quota,
killall, indent and xfs_copy binaries.

Signed-off-by: Arkadiusz Miśkiewicz <arekm@maven.pl>

- new
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Arkadiusz Miśkiewicz
2010-09-09 19:02:17 +02:00
committed by Christoph Hellwig
parent 9e75fba07d
commit 903b50fad9
15 changed files with 39 additions and 30 deletions
+2 -3
View File
@@ -27,7 +27,6 @@ owner=dgc@sgi.com
seq=`basename $0`
echo "QA output created by $seq"
killall="/usr/bin/killall"
here=`pwd`
tmp=/tmp/$$
rm -f $seq.full
@@ -36,7 +35,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_cleanup()
{
killall -r -q -TERM fsstress 2> /dev/null
$KILLALL_PROG -r -q -TERM fsstress 2> /dev/null
sync # ensures all fsstress processes died
_cleanup_testdir
}
@@ -58,7 +57,7 @@ workout()
_supported_fs xfs
_supported_os Linux
[ -x $killall ] || _notrun "$killall executable not found"
[ -n "$KILLALL_PROG" ] || _notrun "killall executable not found"
_setup_testdir
_require_scratch