From 96c8d4543f45bece46e738e5deb0566db20843b7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Mar 2018 20:28:16 +0300 Subject: Fix bug in version iteration test --- tests/rep-fetch.test | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tests') 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; -- cgit v1.1