aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-07-05 23:28:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-07-05 23:28:04 +0300
commit2e871d2000b9f105f5bc49be2b6cc66e7492fcde (patch)
treef713376bf0d7bf2b1778308e5766133728f76382 /tests/manifest
parent65b7239bfa8dec0a533a0d0375f9c7a5690a5dff (diff)
Adapt tests to libbutl's manifest serializer which now uses new-fashioned multi-line value introducerHEADmaster
Diffstat (limited to 'tests/manifest')
-rw-r--r--tests/manifest/result.testscript15
-rw-r--r--tests/manifest/task.testscript8
2 files changed, 15 insertions, 8 deletions
diff --git a/tests/manifest/result.testscript b/tests/manifest/result.testscript
index b48a691..728b5f9 100644
--- a/tests/manifest/result.testscript
+++ b/tests/manifest/result.testscript
@@ -18,15 +18,18 @@ test.options += -r
configure-status: success
update-status: warning
test-status: error
- configure-log:\
+ configure-log:
+ \
conf line 1
conf line 2
\
- update-log:\
+ update-log:
+ \
update line 1
update line 2
\
- test-log:\
+ test-log:
+ \
test line 1
test line 2
\
@@ -43,11 +46,13 @@ test.options += -r
status: error
configure-status: warning
update-status: error
- configure-log:\
+ configure-log:
+ \
conf line 1
conf line 2
\
- update-log:\
+ update-log:
+ \
update line 1
update line 2
\
diff --git a/tests/manifest/task.testscript b/tests/manifest/task.testscript
index b9bc3e5..d901dc4 100644
--- a/tests/manifest/task.testscript
+++ b/tests/manifest/task.testscript
@@ -26,7 +26,8 @@ test.options += -t
auxiliary-machine: x86_64-linux_debian_12-mysql*
target: x86_64-microsoft-win32-msvc14.0
environment: lld
- auxiliary-environment:\
+ auxiliary-environment:
+ \
PGSQL_DATABASE_HOST=192.168.0.1
PGSQL_DATABASE_PORT=1245
\
@@ -416,9 +417,10 @@ test.options += -t
{
: bad-field
:
- $* <<EOI 2>'stdin:3:7: error: invalid task configuration: unterminated quoted string' == 1
+ $* <<EOI 2>'stdin:4:7: error: invalid task configuration: unterminated quoted string' == 1
: 1
- target-config:\
+ target-config:
+ \
'abc=x
\
EOI