aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-05-30 21:00:41 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-05-30 21:00:41 +0300
commitecb8c74e002b66f61199e1cb6bc61fabf2f29a01 (patch)
treee45ce12bfa6e9ec9b1b60a25c80cd445fbca6548 /tests
parent7a20c6dc511c39df0355f32ebeb89e16e8677834 (diff)
Add progress indication for verifying and fixing up symlinks in pkg-checkout
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-checkout.testscript8
-rw-r--r--tests/rep-fetch-git-refname.testscript4
2 files changed, 11 insertions, 1 deletions
diff --git a/tests/pkg-checkout.testscript b/tests/pkg-checkout.testscript
index 1ec8b37..a5e511a 100644
--- a/tests/pkg-checkout.testscript
+++ b/tests/pkg-checkout.testscript
@@ -72,7 +72,9 @@ else
$pkg_status style-basic | sed -n -e 's/style-basic available \[.+\] ([^ ]+)/\1/p' | set v;
- $* "style-basic/$v" 2>>"EOE";
+ $* "style-basic/$v" 2>>~"%EOE%";
+ verifying symlinks...
+ %fixing up symlinks...%?
distributing style-basic/$v
checked out style-basic/$v
EOE
@@ -151,6 +153,8 @@ else
$* links/0.0.1 2>>~%EOE%;
checking out links/0.0.1
+ verifying symlinks...
+ %fixing up symlinks...%?
distributing links/0.0.1
checked out links/0.0.1
EOE
@@ -178,6 +182,8 @@ else
if $posix
$* links/1.0.1 2>>~%EOE% != 0
checking out links/1.0.1
+ verifying symlinks...
+ %fixing up symlinks...%?
distributing links/1.0.1
%warning: skipping dangling symlink .+%
%error: unable to stat .+%
diff --git a/tests/rep-fetch-git-refname.testscript b/tests/rep-fetch-git-refname.testscript
index e9aa4e9..0275d56 100644
--- a/tests/rep-fetch-git-refname.testscript
+++ b/tests/rep-fetch-git-refname.testscript
@@ -93,6 +93,8 @@
%fetching submodule 'libbar/extras' from .+style-basic\.git+%
$info4
%submodule path 'libbar/extras': checked out .+%
+ verifying symlinks...
+ %fixing up symlinks...%?
distributing libfoo/1.0.0
checked out libfoo/1.0.0
EOE
@@ -149,6 +151,8 @@
%fetching submodule 'libbaz' from .+libbaz\.git%
$info2
%submodule path 'libbaz': checked out .+%
+ verifying symlinks...
+ %fixing up symlinks...%?
distributing libfoo/1.0.0
checked out libfoo/1.0.0
EOE