[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 7ed79a9245596d8efc39c761092aa6ed58414bf2

Freddy Vulto fvulto at gmail.com
Fri Jun 18 15:00:51 UTC 2010


The following commit has been merged in the master branch:
commit 7ed79a9245596d8efc39c761092aa6ed58414bf2
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Fri Jun 18 16:59:38 2010 +0200

    (testsuite) Remove need specify `./' with run args
    This allows running tests as:
    
        ./run unit/_filedir.exp
    
    instead of
    
        ./run ./unit/_filedir.exp

diff --git a/test/run b/test/run
index b798676..498d98b 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##*/}")

-- 
bash-completion



More information about the Bash-completion-commits mailing list