aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cfg-create.testscript40
-rw-r--r--tests/cfg-link.testscript48
2 files changed, 44 insertions, 44 deletions
diff --git a/tests/cfg-create.testscript b/tests/cfg-create.testscript
index e518eea..46355e5 100644
--- a/tests/cfg-create.testscript
+++ b/tests/cfg-create.testscript
@@ -28,8 +28,8 @@ EOE
{
$* 2>>/~%EOE%;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
@@ -47,8 +47,8 @@ EOE
{
$* "config.install.root='$~/opt'" 2>>/~%EOE%;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
@@ -72,8 +72,8 @@ EOE
{
$* cxx $config_cxx 2>>/~%EOE%;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
@@ -99,8 +99,8 @@ EOE
$* --wipe 2>>/~%EOE%;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
@@ -120,8 +120,8 @@ EOE
$* --existing 2>>/~%EOE%;
%initialized existing configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
@@ -145,9 +145,9 @@ EOE
{
$* --name foo 2>>/~%EOE% &cfg/***;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
- info: name: foo
+ % uuid: .{36}%
+ type: target
+ name: foo
EOE
$cfg_info >>/~"%EOO%";
@@ -179,8 +179,8 @@ EOE
{
$* --type host 2>>/~%EOE% &cfg/***;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: host
+ % uuid: .{36}%
+ type: host
EOE
$cfg_info >>/~"%EOO%";
@@ -214,9 +214,9 @@ EOE
$* --config-uuid $uuid --name foo 2>>/~"%EOE%" &cfg/***;
%created new configuration in .+/cfg/%
- info: uuid: $uuid
- info: type: target
- info: name: foo
+ uuid: $uuid
+ type: target
+ name: foo
EOE
$cfg_info >>/~"%EOO%";
@@ -251,8 +251,8 @@ EOE
$* --host-config host --build2-config build2 2>>/~%EOE% &cfg/***;
%created new configuration in .+/cfg/%
- % info: uuid: .{36}%
- info: type: target
+ % uuid: .{36}%
+ type: target
EOE
$cfg_info >>/~"%EOO%";
diff --git a/tests/cfg-link.testscript b/tests/cfg-link.testscript
index b396c1a..4eb0e59 100644
--- a/tests/cfg-link.testscript
+++ b/tests/cfg-link.testscript
@@ -37,11 +37,11 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228'
# Link configuration.
#
$* acfg 2>>/~"%EOE%";
- %linked configuration .+/acfg/%
- info: uuid: $acfg_uuid
- info: type: target
- info: name: shared
- info: id: 1
+ %linked with configuration .+/acfg/%
+ uuid: $acfg_uuid
+ type: target
+ name: shared
+ id: 1
EOE
$pkg_status -d cfg libfoo >'libfoo unknown';
@@ -54,11 +54,11 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228'
$* acfg 2>>/~"%EOE%";
%warning: current configuration .+/cfg/ is already implicitly linked with .+/acfg/%
- %linked configuration .+/acfg/%
- info: uuid: $acfg_uuid
- info: type: target
- info: name: shared
- info: id: 1
+ %linked with configuration .+/acfg/%
+ uuid: $acfg_uuid
+ type: target
+ name: shared
+ id: 1
EOE
# Test that the repeated link is reported.
@@ -88,10 +88,10 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228'
$* acfg2 2>>/~%EOE%;
warning: configuration with name shared is already linked as ../acfg/, linking as unnamed
- %linked configuration .+/acfg2/%
- % info: uuid: .{36}%
- info: type: target
- info: id: 2
+ %linked with configuration .+/acfg2/%
+ % uuid: .{36}%
+ type: target
+ id: 2
EOE
# Test that the integrity check fails.
@@ -127,11 +127,11 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228'
# Make the implicit link explicit.
#
$* -d acfg2 cfg 2>>/~"%EOE%";
- %linked configuration .+/cfg/%
- info: uuid: $cfg_uuid
- info: type: target
- info: name: test
- info: id: 1
+ %linked with configuration .+/cfg/%
+ uuid: $cfg_uuid
+ type: target
+ name: test
+ id: 1
EOE
$pkg_status -d cfg libfoo >'libfoo unknown';
@@ -167,11 +167,11 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228'
$cfg_create -d cfg2 --name 'test' &cfg2/***;
$* -d cfg2 acfg2 2>>/~%EOE%;
- %linked configuration .+/acfg2/%
- % info: uuid: .{36}%
- info: type: target
- info: name: shared
- info: id: 1
+ %linked with configuration .+/acfg2/%
+ % uuid: .{36}%
+ type: target
+ name: shared
+ id: 1
EOE
# Test that the integrity check fails.