diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-19 20:28:16 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-19 20:28:16 +0300 |
commit | 96c8d4543f45bece46e738e5deb0566db20843b7 (patch) | |
tree | afc6221924b00e8db36da59d403f10e905be8fd9 /tests | |
parent | 302739e70cdf9495e738a95ee65f4f46ea6ec438 (diff) |
Fix bug in version iteration test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rep-fetch.test | 11 |
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; |