From 164d7ce1bb116b4e8df488030689d7868155969e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Aug 2021 09:55:32 +0200 Subject: Rename --config-uuid to --uuid in bpkg-cfg-create --- tests/cfg-link.testscript | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/cfg-link.testscript') diff --git a/tests/cfg-link.testscript b/tests/cfg-link.testscript index 4eb0e59..5d903f2 100644 --- a/tests/cfg-link.testscript +++ b/tests/cfg-link.testscript @@ -18,7 +18,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' : { $cfg_create -d cfg --name 'main'; - $cfg_create -d acfg --name 'shared' --config-uuid "$acfg_uuid" &acfg/***; + $cfg_create -d acfg --name 'shared' --uuid "$acfg_uuid" &acfg/***; # Try to link configuration under the same name. # @@ -50,7 +50,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' # Test that the recreated configuration can be implicitly re-linked. # rm -r cfg; - $cfg_create -d cfg --name 'test' --config-uuid "$cfg_uuid" &cfg/***; + $cfg_create -d cfg --name 'test' --uuid "$cfg_uuid" &cfg/***; $* acfg 2>>/~"%EOE%"; %warning: current configuration .+/cfg/ is already implicitly linked with .+/acfg/% @@ -105,7 +105,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' # Link the second configuration. # rm -r acfg; - $cfg_create -d acfg --name 'shared' --config-uuid "$acfg_uuid" &acfg/***; + $cfg_create -d acfg --name 'shared' --uuid "$acfg_uuid" &acfg/***; $pkg_status -d cfg libfoo >'libfoo unknown'; $pkg_status -d acfg2 libfoo >'libfoo unknown'; @@ -113,7 +113,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' # Test that the configuration type mismatch is reported. # mv cfg cfg.tmp; - $cfg_create -d cfg --type host --config-uuid "$cfg_uuid"; + $cfg_create -d cfg --type host --uuid "$cfg_uuid"; $* -d acfg2 cfg 2>>/EOE != 0; error: configuration cfg/ type mismatch @@ -152,7 +152,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' # Test that the repeated implicit link is reported. # - $cfg_create -d cfg2 --config-uuid "$cfg_uuid"; + $cfg_create -d cfg2 --uuid "$cfg_uuid"; $* -d cfg2 acfg2 2>>/~"%EOE%" != 0; %error: current configuration $cfg_uuid is already linked with .+/acfg2/% @@ -183,7 +183,7 @@ acfg_uuid = '28f48b4b-b5d9-4712-b98c-1930df1c4228' EOE rm -r cfg; - $cfg_create -d cfg --name 'test' --config-uuid "$cfg_uuid" &cfg/***; + $cfg_create -d cfg --name 'test' --uuid "$cfg_uuid" &cfg/***; $pkg_status -d cfg2 libfoo >'libfoo unknown'; $pkg_status -d acfg2 libfoo >'libfoo unknown' -- cgit v1.1