aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/result.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-09-29 21:22:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-03 19:42:36 +0300
commit022d5cb4f246809ce8d9a08d3499edd309ed26e7 (patch)
treeb5546e41ab32cb5692fd3ca409642c3fc5cf1b5c /tests/manifest/result.testscript
parentb387713a19ddf0d10d8ae28c5de6e78cd9d568b5 (diff)
Add agent, worker, and dependency checksums to task/result manifests
Diffstat (limited to 'tests/manifest/result.testscript')
-rw-r--r--tests/manifest/result.testscript21
1 files changed, 20 insertions, 1 deletions
diff --git a/tests/manifest/result.testscript b/tests/manifest/result.testscript
index c530170..0a1511f 100644
--- a/tests/manifest/result.testscript
+++ b/tests/manifest/result.testscript
@@ -30,6 +30,8 @@ test.options += -r
test line 1
test line 2
\
+ worker-checksum: 1
+ dependency-checksum: 12345
EOF
: update-error
@@ -49,6 +51,8 @@ test.options += -r
update line 1
update line 2
\
+ worker-checksum: 1
+ dependency-checksum: 12345
EOF
: early-abort
@@ -106,12 +110,20 @@ test.options += -r
configure-log: configured
configure-log: configured
EOI
+
+ : worker-checksum
+ :
+ $* <<EOI 2>'stdin:3:1: error: result worker checksum redefinition' == 1
+ : 1
+ worker-checksum: 1
+ worker-checksum: 1
+ EOI
}
: invalid
:
{
- : name-empty
+ : empty-name
:
$* <<EOI 2>'stdin:2:6: error: invalid result package name: length is less than two characters' == 1
: 1
@@ -181,6 +193,13 @@ test.options += -r
update-log: log
EOI
}
+
+ : empty-worker-checksum
+ :
+ $* <<EOI 2>'stdin:2:17: error: empty result worker checksum' == 1
+ : 1
+ worker-checksum:
+ EOI
}
: unknown-name