aboutsummaryrefslogtreecommitdiff
path: root/tests/pkg-build.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg-build.testscript')
-rw-r--r--tests/pkg-build.testscript24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/pkg-build.testscript b/tests/pkg-build.testscript
index f6561d6..272b988 100644
--- a/tests/pkg-build.testscript
+++ b/tests/pkg-build.testscript
@@ -3877,4 +3877,28 @@ else
$pkg_disfigure style-basic
}
+
+ : checkout-root
+ :
+ {
+ $clone_root_cfg;
+ $rep_fetch "$rep0/libbar.git#master" &cfg/.bpkg/repos/*/***;
+
+ $* libmbar --checkout-root $~ --checkout-purge 2>>~%EOE%;
+ %checked out style-basic/.+%
+ %configured style-basic/.+%
+ checked out libmbar/1.0.0
+ configured libmbar/1.0.0
+ %info: .+ is up to date%
+ updated libmbar/1.0.0
+ EOE
+
+ test -d libmbar-1.0.0;
+
+ $pkg_disfigure libmbar;
+ $pkg_disfigure style-basic;
+
+ $pkg_purge libmbar;
+ $pkg_purge style-basic
+ }
}