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

Ville Skyttä ville.skytta at iki.fi
Wed Apr 21 20:35:03 UTC 2010


The following commit has been merged in the master branch:
commit c5348d8678ff0b97266bf04373b928c9b13d205e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Wed Apr 21 23:34:27 2010 +0300

    Run delegated test tools/scripts with exec.

diff --git a/test/run b/test/run
index 71a8712..b798676 100755
--- a/test/run
+++ b/test/run
@@ -57,4 +57,4 @@ done
 [[ -n $timeout ]] && args+=("OPT_TIMEOUT=$timeout")
 [[ -z $tool ]] && { echo "Must specify tool somehow"; exit 1; }
 
-runtest --outdir log --tool $tool "${args[@]}" 
+exec runtest --outdir log --tool $tool "${args[@]}" 
diff --git a/test/runCompletion b/test/runCompletion
index 97f5412..4e298a4 100755
--- a/test/runCompletion
+++ b/test/runCompletion
@@ -4,4 +4,4 @@
 #       isn't initialized at that point (i.e. output of `expect' is shown on
 #       stdout - `open_logs' hasn't run yet?).  And running code from a library
 #       file isn't probably a good idea either.
-"$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool completion $*
+exec "$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool completion $*
diff --git a/test/runInstall b/test/runInstall
index 8ee54d8..87aea58 100755
--- a/test/runInstall
+++ b/test/runInstall
@@ -4,4 +4,4 @@
 #       isn't initialized at that point (i.e. output of `expect' is shown on
 #       stdout - `open_logs' hasn't run yet?).  And running code from a library
 #       file isn't probably a good idea either.
-runtest --outdir log --tool install $* 
+exec runtest --outdir log --tool install $*
diff --git a/test/runUnit b/test/runUnit
index 9ce71ef..220fbb3 100755
--- a/test/runUnit
+++ b/test/runUnit
@@ -4,4 +4,4 @@
 #       isn't initialized at that point (i.e. output of `expect' is shown on
 #       stdout - `open_logs' hasn't run yet?).  And running code from a library
 #       file isn't probably a good idea either.
-"$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool unit $*
+exec "$BASH" "$(dirname "${BASH_SOURCE[0]}")/run" --tool unit $*

-- 
bash-completion



More information about the Bash-completion-commits mailing list