diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-19 17:55:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-19 17:55:44 +0300 |
commit | 5050df2747d7b586dae4890efbe670d2cf584eae (patch) | |
tree | e5dc33c0f14a806e7defcad47caf05478613edcc /tests/manifest/task-response.test | |
parent | d81b21e46f325d0c12df3054fe08aa29bb1061f3 (diff) |
Make challenge and fingerprint manifest values optional
Diffstat (limited to 'tests/manifest/task-response.test')
-rw-r--r-- | tests/manifest/task-response.test | 46 |
1 files changed, 28 insertions, 18 deletions
diff --git a/tests/manifest/task-response.test b/tests/manifest/task-response.test index 22bdded..25a76f1 100644 --- a/tests/manifest/task-response.test +++ b/tests/manifest/task-response.test @@ -11,17 +11,34 @@ test.options += -ts { : session-not-empty : - $* <<EOF >>EOF - : 1 - session: abcd - challenge: xyz - result-url: https://cppget.org/?build-result - : - name: libfoo - version: 1.0 - repository: http://pkg.example.org/1/math - machine: windows_10-msvc_14 - EOF + { + : all-values + : + $* <<EOF >>EOF + : 1 + session: abcd + challenge: xyz + result-url: https://cppget.org/?build-result + : + name: libfoo + version: 1.0 + repository: http://pkg.example.org/1/math + machine: windows_10-msvc_14 + EOF + + : no-challenge + : + $* <<EOF >>EOF + : 1 + session: abcd + result-url: https://cppget.org/?build-result + : + name: libfoo + version: 1.0 + repository: http://pkg.example.org/1/math + machine: windows_10-msvc_14 + EOF + } : session-empty : @@ -125,13 +142,6 @@ EOI : 1 EOI - : challenge - : - $* <<EOI 2>'stdin:3:1: error: no task response challenge specified' == 1 - : 1 - session: abc - EOI - : result-url : $* <<EOI 2>'stdin:4:1: error: no task response result url specified' == 1 |