aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 3e1e08c..f4845e6 100644
--- a/tests/manifest/result-request.test
+++ b/tests/manifest/result-request.test
@@ -14,7 +14,7 @@ test.options += -rq
$* <<EOF >>EOF
: 1
session: abcd
- challenge: xyz
+ challenge: YQo=
:
name: libfoo
version: 1.0
@@ -49,15 +49,15 @@ test.options += -rq
:
$* <<EOI 2>'stdin:3:1: error: result request challenge redefinition' == 1
: 1
- challenge: xyz
- challenge: xyz
+ challenge: YQo=
+ challenge: YQo=
EOI
}
-: empty
+: invalid
:
{
- : session
+ : empty-session
:
$* <<EOI 2>'stdin:2:9: error: empty result request session' == 1
: 1
@@ -66,6 +66,13 @@ test.options += -rq
: challenge
:
+ $* <<EOI 2>'stdin:2:12: error: invalid result request challenge' == 1
+ : 1
+ challenge: abc
+ EOI
+
+ : empty-challenge
+ :
$* <<EOI 2>'stdin:2:11: error: empty result request challenge' == 1
: 1
challenge:
@@ -86,7 +93,7 @@ EOI
:
$* <<EOI 2>'stdin:3:1: error: no result request session specified' == 1
: 1
- challenge: xyz
+ challenge: YQo=
EOI
: result
@@ -94,6 +101,6 @@ EOI
$* <<EOI 2>'stdin:4:1: error: result manifest expected' == 1
: 1
session: abc
- challenge: xyz
+ challenge: YQo=
EOI
}