aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-12 19:47:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-12 20:11:46 +0300
commitb1becabe15972d3ddc7cf14e7840e03766ea9600 (patch)
treecd8d1b93432220a0541a87311851729732cfdd75 /tests
parent94bd8f38d5cbecd479e26928ca110f0bf1f64519 (diff)
Adapt to butl::b_info() API change
Diffstat (limited to 'tests')
-rw-r--r--tests/common/git/README2
-rw-r--r--tests/pkg-checkout.testscript9
2 files changed, 5 insertions, 6 deletions
diff --git a/tests/common/git/README b/tests/common/git/README
index 737cd83..5b4781b 100644
--- a/tests/common/git/README
+++ b/tests/common/git/README
@@ -8,7 +8,7 @@ before modification, and
$ ./pack
-afterwrds.
+afterwards.
Also note that config files under .git/ subdirectory refer to the submodule
repositories using absolute paths. So prior to pulling in subproject directory
diff --git a/tests/pkg-checkout.testscript b/tests/pkg-checkout.testscript
index 69e211c..1ec8b37 100644
--- a/tests/pkg-checkout.testscript
+++ b/tests/pkg-checkout.testscript
@@ -179,6 +179,7 @@ else
$* links/1.0.1 2>>~%EOE% != 0
checking out links/1.0.1
distributing links/1.0.1
+ %warning: skipping dangling symlink .+%
%error: unable to stat .+%
EOE
else
@@ -193,16 +194,14 @@ else
# Cyclic symlinks in the repository.
#
+ $rep_fetch "$rep/links.git#v1.0.2";
+
if $posix
- $rep_fetch "$rep/links.git#v1.0.2" 2>>~%EOE% != 0
+ $* links/1.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"
-
$* links/1.0.2 2>>~%EOE% != 0
checking out links/1.0.2
%.*