From 7ed79a9245596d8efc39c761092aa6ed58414bf2 Mon Sep 17 00:00:00 2001 From: Freddy Vulto Date: Fri, 18 Jun 2010 16:59:38 +0200 Subject: [PATCH] (testsuite) Remove need specify `./' with run args This allows running tests as: ./run unit/_filedir.exp instead of ./run ./unit/_filedir.exp --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index b798676f..498d98b7 100755 --- a/test/run +++ b/test/run @@ -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##*/}")