autotest: allow run without $PATH setup

This commit is contained in:
Andrew Tridgell 2015-07-09 13:06:35 +10:00
parent 01eb27908f
commit 338ae68537
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,6 @@ else
echo "Window access not found, logging to $filename"
cmd="$1"
shift
( run_cmd.sh $cmd $* &>$filename < /dev/null ) &
( $AUTOTEST/run_cmd.sh $cmd $* &>$filename < /dev/null ) &
fi
exit 0

View File

@ -285,6 +285,8 @@ pushd $autotest/../../$VEHICLE || {
usage
exit 1
}
AUTOTEST=$autotest
export AUTOTEST
VEHICLEDIR=$(pwd)
if [ $NO_REBUILD == 0 ]; then