chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2256c
)
tests: Change tname to be t-* not the stem
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 7 Jan 2023 13:13:10 +0000
(13:13 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 8 Jan 2023 17:02:08 +0000
(17:02 +0000)
This will allow us to have adt-* too.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/tcommon
patch
|
blob
|
history
diff --git
a/test/tcommon
b/test/tcommon
index cf78587f9868461e504da01ca1615b55cea2d91f..4e41bb8532d1763b1f2e536e6565fb692ce922d6 100644
(file)
--- 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
}