Allow autocomplete for test file in autotest.sh
This commit is contained in:
parent
e61f24f2aa
commit
532bcf40b3
|
@ -227,7 +227,11 @@ if [ -z "$1" ]
|
||||||
execute_tests $DBCONFIG
|
execute_tests $DBCONFIG
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
execute_tests "$1" "$2" "$3"
|
FILENAME="$2"
|
||||||
|
if [ ! -f "tests/$FILENAME" ]; then
|
||||||
|
FILENAME="../$FILENAME"
|
||||||
|
fi
|
||||||
|
execute_tests "$1" "$FILENAME" "$3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$BASEDIR"
|
cd "$BASEDIR"
|
||||||
|
|
Loading…
Reference in New Issue