From 9b6086440aa261fc376c8293df2345050658dd2b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Oct 2021 22:36:01 +0300 Subject: Allow building build module in multiple configurations if they belong to different configuration clusters --- tests/pkg-build.testscript | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'tests/pkg-build.testscript') diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript index 4da7747..48fea7b 100644 --- a/tests/pkg-build.testscript +++ b/tests/pkg-build.testscript @@ -6465,6 +6465,27 @@ else libbaz configured 1.0.0 EOO } + + : build2-module-different-clusters + : + : Test that the same module can successfully be built in 2 configurations + : if they belong to different linked configuration clusters. + : + { + $cfg_create -d cfg --uuid $cfg_uuid &cfg/***; + $cfg_create -d cfg2 --uuid $cfg2_uuid &cfg2/***; + + test.arguments += -d cfg2; # Now refers 2 current dirs: cfg/ and cfg2/. + + $* "libbiz@$rep/t7a" +{ --config-uuid $cfg_uuid } \ + "libbuz@$rep/t7a" +{ --config-uuid $cfg2_uuid } --yes --trust-yes 2>>~%EOE% + %(added|fetching) .+%{4} + %(fetched|unpacked) .+%{26} + %configured .+%{13} + %info: .+ is up to date%{2} + %updated .+%{2} + EOE + } } : system -- cgit v1.1