From 9137a64e7eac8d10968ae1de9c3cd3c99c7dafca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 7 Jan 2023 13:13:10 +0000 Subject: [PATCH] tests: Change tname to be t-* not the stem This will allow us to have adt-* too. Signed-off-by: Ian Jackson --- test/tcommon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tcommon b/test/tcommon index cf78587..4e41bb8 100644 --- a/test/tcommon +++ b/test/tcommon @@ -18,7 +18,7 @@ fail () { echo >&2 "$0: fail: $*"; exit 1; } determine-tname () { local prefix=$1; shift case "${0##*/}" in - $prefix-*) tname="${0##*/$prefix-}" ;; + $prefix-*) tname="${0##*/}" ;; *) fail "bad test script name $0" ;; esac } -- 2.30.2