aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-07-05 23:25:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-07-31 14:38:50 +0300
commit31cd1485b456331fca5778ab4bd4b54d00a93683 (patch)
tree8d6d4e86ef91fa9a7b7f38303107f60e8d282c97
parenta83019dca168465a771ff4ac5999bc48b7d43cd8 (diff)
Adapt tests to libbutl's manifest serializer which now uses new-fashioned multi-line value introducer
-rw-r--r--tests/pkg-verify.testscript9
-rw-r--r--tests/rep-create.testscript18
-rw-r--r--tests/rep-info.testscript24
3 files changed, 34 insertions, 17 deletions
diff --git a/tests/pkg-verify.testscript b/tests/pkg-verify.testscript
index 8057aab..bbe2454 100644
--- a/tests/pkg-verify.testscript
+++ b/tests/pkg-verify.testscript
@@ -78,12 +78,14 @@ $* --deep --ignore-unknown --manifest $src/foo-2.tar.gz >>EOO
version: 2
summary: The "Foo" utility
license: MIT
- description:\
+ description:
+ \
This package contains the foo utility.
\
description-type: text/plain
- changes:\
+ changes:
+ \
Version 2
* First public release.
@@ -93,7 +95,8 @@ $* --deep --ignore-unknown --manifest $src/foo-2.tar.gz >>EOO
url: http://www.example.org/foo
email: foo-users@example.org
depends: bar == 2
- bootstrap-build:\
+ bootstrap-build:
+ \
project = foo
\
diff --git a/tests/rep-create.testscript b/tests/rep-create.testscript
index bca7305..c9364ed 100644
--- a/tests/rep-create.testscript
+++ b/tests/rep-create.testscript
@@ -41,7 +41,8 @@
url: http://www.example.org/bar
email: bar-users@example.org
depends: foo == 1
- bootstrap-build:\
+ bootstrap-build:
+ \
project = bar
\
@@ -54,7 +55,8 @@
license: MIT
url: http://www.example.org/foo
email: foo-users@example.org
- bootstrap-build:\
+ bootstrap-build:
+ \
project = foo
\
@@ -86,7 +88,8 @@
url: http://www.example.org/bar
email: bar-users@example.org
depends: foo == 1
- bootstrap-build:\
+ bootstrap-build:
+ \
project = bar
\
@@ -99,7 +102,8 @@
license: MIT
url: http://www.example.org/foo
email: foo-users@example.org
- bootstrap-build:\
+ bootstrap-build:
+ \
project = foo
\
@@ -148,7 +152,8 @@
url: http://www.example.org/bar
email: bar-users@example.org
depends: foo == 1
- bootstrap-build:\\
+ bootstrap-build:
+ \\
project = bar
\\
@@ -161,7 +166,8 @@
license: MIT
url: http://www.example.org/foo
email: foo-users@example.org
- bootstrap-build:\\
+ bootstrap-build:
+ \\
project = foo
\\
diff --git a/tests/rep-info.testscript b/tests/rep-info.testscript
index 2c02c8f..4b7c15a 100644
--- a/tests/rep-info.testscript
+++ b/tests/rep-info.testscript
@@ -116,7 +116,8 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
license: MIT
url: http://www.example.org/foo
email: foo-users@example.org
- bootstrap-build:\
+ bootstrap-build:
+ \
project = foo
\
@@ -144,13 +145,15 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
version: 1.0.0+1
summary: libbar
license: MIT
- description:\
+ description:
+ \
TODO
\
description-type: text/plain
%.+
- bootstrap-build:\
+ bootstrap-build:
+ \
project = libbar
using config
@@ -182,13 +185,15 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
version: 1.0.0+1
summary: libbar
license: MIT
- description:\
+ description:
+ \
TODO
\
description-type: text/plain
%.+
- bootstrap-build:\
+ bootstrap-build:
+ \
project = libbar
using config
@@ -202,13 +207,15 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
version: 1.0.0
summary: libmbar
license: MIT
- description:\
+ description:
+ \
TODO
\
description-type: text/plain
%.+
- bootstrap-build:\
+ bootstrap-build:
+ \
project = libmbar
using config
@@ -245,7 +252,8 @@ $* --name $rep/testing >"pkg:build2.org/rep-info/testing ($rep/testing)"
license: MIT
url: http://www.example.org/foo
email: foo-users@example.org
- bootstrap-build:\
+ bootstrap-build:
+ \
project = foo
\