summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-07-06 17:44:40 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-07-07 09:54:19 +0100
commit27bb9f8d1f714faff56c796e409438530dc2f827 (patch)
treee985b4140f8280a2479883811894c996c48e7416
parent86fc0e8b602a9a94dd7818f1a8c748a5a4ffc355 (diff)
test suite: tagupl: Test some wrong tag names
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xtests/tests/tagupl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl
index e1f4391..d604413 100755
--- a/tests/tests/tagupl
+++ b/tests/tests/tagupl
@@ -67,6 +67,14 @@ expect-quit () {
grep ": $mstring" ../tagupl/overall.log
}
+tagname=test-dummy/1.2
+t-expect-fail E:'failed command: git fetch' \
+t-tagupl-run-drs
+
+tagname=splorf/$v ; expect-quit baddistro '' 'tag name not for us'
+tagname=test-dummy/1,2; expect-quit badver '' 'tag name not for us'
+tagname=test-dummy/$v
+
expect-quit noplease s/please-upload/plunk/ 'tag missing please-upload'
t-ok