(testsuite) Remove need specify `./' with run args

This allows running tests as:

    ./run unit/_filedir.exp

instead of

    ./run ./unit/_filedir.exp
master
Freddy Vulto 2010-06-18 16:59:38 +02:00
parent 6ac176ec72
commit 7ed79a9245
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ while [[ $# > 0 ]]; do
--timeout=*) timeout=${1/--timeout=};;
--tool=*) set_tool "${1#/--tool=}";;
--tool) shift; set_tool "$1";;
*/completion/*.exp|*/unit/*.exp)
completion/*.exp|*/completion/*.exp|unit/*.exp|*/unit/*.exp)
arg=${1%/*}
set_tool "${arg##*/}"
args+=("${1##*/}")