aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-28 21:40:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-09-29 15:46:39 +0300
commit60c5bf36100ccc15421a87f4b566849d2468d396 (patch)
tree95c0f9a8a55561c78c3f8a67b93ed7f3438b5ded /tests
parent6909c20e69f08d256360dd29e50eacd02f49dfb8 (diff)
Run build2 dist meta-operation in pkg-checkout with '--no-external-modules !config.dist.bootstrap=true'
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-checkout.testscript20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/pkg-checkout.testscript b/tests/pkg-checkout.testscript
index 398080e..9fc1e64 100644
--- a/tests/pkg-checkout.testscript
+++ b/tests/pkg-checkout.testscript
@@ -54,12 +54,14 @@ else
$rep_add "$rep/libbar.git#master";
$rep_fetch;
- $* libmbar/1.0.0 2>>~%EOE% != 0
+ $* libmbar/1.0.0 2>>~%EOE%;
+ checking out libmbar/1.0.0
%.+
- error: no configured package satisfies dependency on style-basic >= 1.0.0
- warning: repository state is now broken
- info: run 'bpkg rep-fetch' to repair
+ distributing libmbar/1.0.0
+ checked out libmbar/1.0.0
EOE
+
+ $pkg_purge libmbar
}
: configured-dependency
@@ -177,13 +179,13 @@ else
$rep_fetch "$rep/links.git#v1.0.1";
if $posix
- $* links/1.0.1 2>>~%EOE%
+ $* links/1.0.1 2>>~%EOE% != 0
checking out links/1.0.1
distributing links/1.0.1
- checked out links/1.0.1
+ %error: unable to stat .+%
+ warning: repository state is now broken
+ info: run 'bpkg rep-fetch' to repair
EOE
-
- $pkg_purge links
else
$* links/1.0.1 2>>~%EOE% != 0
checking out links/1.0.1
@@ -200,8 +202,6 @@ else
$rep_fetch "$rep/links.git#v1.0.2" 2>>~%EOE% != 0
%.*
%error: unable to iterate over .+%
- warning: repository state is now broken and will be cleaned up
- info: run 'bpkg rep-fetch' to update
EOE
else
$rep_fetch "$rep/links.git#v1.0.2"