aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-19 20:28:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-19 20:28:16 +0300
commit96c8d4543f45bece46e738e5deb0566db20843b7 (patch)
treeafc6221924b00e8db36da59d403f10e905be8fd9 /tests/rep-fetch.test
parent302739e70cdf9495e738a95ee65f4f46ea6ec438 (diff)
Fix bug in version iteration test
Diffstat (limited to 'tests/rep-fetch.test')
-rw-r--r--tests/rep-fetch.test11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/rep-fetch.test b/tests/rep-fetch.test
index dcbf1d7..db0f801 100644
--- a/tests/rep-fetch.test
+++ b/tests/rep-fetch.test
@@ -508,13 +508,20 @@ if ($remote != true)
: git-rep
:
- if ($remote != true)
+ if ($git_supported == true && $remote != true)
{
rep = $canonicalize([dir_path] $out_git/state0);
$clone_root_cfg;
- $* "$rep/style.git#master" 2>! &cfg/.bpkg/repos/*/***;
+ # Convert specific warnings to infos as we expect them to appear. This,
+ # in particular, prevents bbot workers to set task result status to
+ # warning.
+ #
+ $* "$rep/style.git#master" 2>&1 | \
+ sed -e 's/warning: (fetching (over|whole) .*)/info: \1/' >&2 2>! \
+ &cfg/.bpkg/repos/*/***;
+
$pkg_checkout "style/1.0.0" 2>!;
$rep_add $rep/style.git;