From fa00e853d17b40d9112cb856ca1f08dfe8500f20 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 26 May 2017 18:01:41 +0300 Subject: Store result request challenge as binary value --- tests/manifest/result-request.test | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'tests/manifest') 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 : 1 session: abcd - challenge: xyz + challenge: YQo= : name: libfoo version: 1.0 @@ -49,15 +49,15 @@ test.options += -rq : $* <'stdin:3:1: error: result request challenge redefinition' == 1 : 1 - challenge: xyz - challenge: xyz + challenge: YQo= + challenge: YQo= EOI } -: empty +: invalid : { - : session + : empty-session : $* <'stdin:2:9: error: empty result request session' == 1 : 1 @@ -66,6 +66,13 @@ test.options += -rq : challenge : + $* <'stdin:2:12: error: invalid result request challenge' == 1 + : 1 + challenge: abc + EOI + + : empty-challenge + : $* <'stdin:2:11: error: empty result request challenge' == 1 : 1 challenge: @@ -86,7 +93,7 @@ EOI : $* <'stdin:3:1: error: no result request session specified' == 1 : 1 - challenge: xyz + challenge: YQo= EOI : result @@ -94,6 +101,6 @@ EOI $* <'stdin:4:1: error: result manifest expected' == 1 : 1 session: abc - challenge: xyz + challenge: YQo= EOI } -- cgit v1.1