From: Ian Jackson Date: Sat, 7 Jan 2023 13:13:10 +0000 (+0000) Subject: tests: Change tname to be t-* not the stem X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9137a64e7eac8d10968ae1de9c3cd3c99c7dafca;p=hippotat.git tests: Change tname to be t-* not the stem This will allow us to have adt-* too. Signed-off-by: Ian Jackson --- 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 }