diff options
-rw-r--r-- | tests/lib | 8 | ||||
-rwxr-xr-x | tests/tests/drs-clone-nogit | 2 |
2 files changed, 6 insertions, 4 deletions
@@ -262,10 +262,12 @@ t-drs () { cp $root/tests/suites $tmp/. } -t-drs-test () { - t-drs +t-alt-test () { + local d=${0%/*} + local t=${0##*/} + t-${t%%-*} cd $root export DGIT_TEST_TESTNAME="$testname" export ADTTMP=$tmp - exec "${0///drs-//}" "$@" + exec "$d/${t#*-}" } diff --git a/tests/tests/drs-clone-nogit b/tests/tests/drs-clone-nogit index dcfb193..915f9d3 100755 --- a/tests/tests/drs-clone-nogit +++ b/tests/tests/drs-clone-nogit @@ -1,4 +1,4 @@ #!/bin/bash set -e . tests/lib -t-drs-test +t-alt-test |