diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-09-04 15:03:14 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-09-04 15:03:14 +0300 |
commit | 1e0c838ededf6d7d213c19f4c5b595e195356329 (patch) | |
tree | 142a8e43ec138b5b4a599f46da316fd98d948299 /tests/manifest/result-request.test | |
parent | e73b2b4a4ed4c814131782572c007f85fbf442a3 (diff) |
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/manifest/result-request.test')
-rw-r--r-- | tests/manifest/result-request.test | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/tests/manifest/result-request.test b/tests/manifest/result-request.test deleted file mode 100644 index 7b03ce1..0000000 --- a/tests/manifest/result-request.test +++ /dev/null @@ -1,106 +0,0 @@ -# file : tests/manifest/result-request.test -# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -test.options += -rq - -: valid -: -: Roundtrip the result request manifest. -: -{ - : all-values - : - $* <<EOF >>EOF - : 1 - session: abcd - challenge: YQo= - : - name: libfoo - version: 1.0 - status: error - EOF - - : no-challenge - : - $* <<EOF >>EOF - : 1 - session: abcd - : - name: libfoo - version: 1.0 - status: error - EOF - -} - -: redefinition -: -{ - : session - : - $* <<EOI 2>'stdin:3:1: error: result request session redefinition' == 1 - : 1 - session: abcd - session: abcd - EOI - - : challenge - : - $* <<EOI 2>'stdin:3:1: error: result request challenge redefinition' == 1 - : 1 - challenge: YQo= - challenge: YQo= - EOI -} - -: invalid -: -{ - : empty-session - : - $* <<EOI 2>'stdin:2:9: error: empty result request session' == 1 - : 1 - session: - EOI - - : 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: - EOI -} - -: unknown-name -: -$* <<EOI 2>"stdin:2:1: error: unknown name 'x' in result request manifest" == 1 -: 1 -x: -EOI - -: missed -: -{ - : session - : - $* <<EOI 2>'stdin:3:1: error: no result request session specified' == 1 - : 1 - challenge: YQo= - EOI - - : result - : - $* <<EOI 2>'stdin:4:1: error: result manifest expected' == 1 - : 1 - session: abc - challenge: YQo= - EOI -} |