diff options
Diffstat (limited to 'tests/manifest')
-rw-r--r-- | tests/manifest/task-response.testscript | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/manifest/task-response.testscript b/tests/manifest/task-response.testscript index df63f70..7615127 100644 --- a/tests/manifest/task-response.testscript +++ b/tests/manifest/task-response.testscript @@ -18,6 +18,7 @@ test.options += -ts session: abcd challenge: cc6585375ef81898cc60791b11852e3d2ed9ebb82ebb0874010fe0e6f9ebdb73 result-url: https://cppget.org/?build-result + bindist-upload-url: https://cppget.org/?upload=bindist agent-checksum: 1 : name: libfoo @@ -77,6 +78,15 @@ test.options += -ts result-url: https://cppget.org/?build-result EOI + : upload-url + : + $* <<EOI 2>'stdin:4:1: error: task response upload url redefinition' == 1 + : 1 + bindist-upload-url: https://cppget.org/?upload=bindist + other-upload-url: https://cppget.org/?upload=other + bindist-upload-url: https://cppget.org/?upload=bindist + EOI + : agent-checksum : $* <<EOI 2>'stdin:3:1: error: task response agent checksum redefinition' == 1 @@ -127,6 +137,25 @@ test.options += -ts EOI } + : upload-url + : + { + : empty + : + $* <<EOI 2>'stdin:2:20: error: empty task response upload url' == 1 + : 1 + bindist-upload-url: + EOI + + : redundant + : + $* <<EOI 2>'stdin:4:1: error: unexpected task response upload url' == 1 + : 1 + session: + bindist-upload-url: https://cppget.org/?upload=bindist + EOI + } + : agent-checksum : { |