summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/lib b/tests/lib
index cccdc35..529f55d 100644
--- a/tests/lib
+++ b/tests/lib
@@ -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#*-}"
}