aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/result-request.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-19 17:55:44 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-19 17:55:44 +0300
commit5050df2747d7b586dae4890efbe670d2cf584eae (patch)
treee5dc33c0f14a806e7defcad47caf05478613edcc /tests/manifest/result-request.test
parentd81b21e46f325d0c12df3054fe08aa29bb1061f3 (diff)
Make challenge and fingerprint manifest values optional
Diffstat (limited to 'tests/manifest/result-request.test')
-rw-r--r--tests/manifest/result-request.test21
1 files changed, 14 insertions, 7 deletions
diff --git a/tests/manifest/result-request.test b/tests/manifest/result-request.test
index 8cf64b9..3e1e08c 100644
--- a/tests/manifest/result-request.test
+++ b/tests/manifest/result-request.test
@@ -9,6 +9,8 @@ test.options += -rq
: Roundtrip the result request manifest.
:
{
+ : all-values
+ :
$* <<EOF >>EOF
: 1
session: abcd
@@ -18,6 +20,18 @@ test.options += -rq
version: 1.0
status: error
EOF
+
+ : no-challenge
+ :
+ $* <<EOF >>EOF
+ : 1
+ session: abcd
+ :
+ name: libfoo
+ version: 1.0
+ status: error
+ EOF
+
}
: redefinition
@@ -75,13 +89,6 @@ EOI
challenge: xyz
EOI
- : challenge
- :
- $* <<EOI 2>'stdin:3:1: error: no result request challenge specified' == 1
- : 1
- session: abc
- EOI
-
: result
:
$* <<EOI 2>'stdin:4:1: error: result manifest expected' == 1