When asked to run "lfsck", auster found "/usr/sbin/lfsck" instead of
"$LUSTRE/tests/lfsck.sh". This patch restricts auster to look for test
scripts in only $LUSTRE/tests.
Change-Id: Iea521d06cdf1cea1a9bd80224f847275732d3447
Signed-off-by: Li Wei <liwei@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1078
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
local suite_name=${1%.sh}
local suite=$(echo ${suite_name} | tr "[:lower:]-" "[:upper:]_")
- suite_script=$(find_script_in_path $suite_name $PATH:$LUSTRE/tests)
+ suite_script=$(find_script_in_path $suite_name $LUSTRE/tests)
if [[ -z $suite_script ]]; then
echo "Can't find test script for $suite_name"