mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Christoph Hellwig
parent
9e75fba07d
commit
903b50fad9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user