From 31cd1485b456331fca5778ab4bd4b54d00a93683 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 5 Jul 2024 23:25:33 +0300 Subject: Adapt tests to libbutl's manifest serializer which now uses new-fashioned multi-line value introducer --- tests/pkg-verify.testscript | 9 ++++++--- tests/rep-create.testscript | 18 ++++++++++++------ tests/rep-info.testscript | 24 ++++++++++++++++-------- 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 \ -- cgit v1.1