aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rep-fetch-git-branch.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/rep-fetch-git-branch.test b/tests/rep-fetch-git-branch.test
index 9673c96..ea78986 100644
--- a/tests/rep-fetch-git-branch.test
+++ b/tests/rep-fetch-git-branch.test
@@ -66,7 +66,11 @@ warning: fetching over dumb HTTP, no progress will be shown'
:
{
$clone_root_cfg && $rep_add "$rep/state0/libfoo.git#$branch";
- $* >! 2>!;
+
+ # Convert specific warnings to infos as we expect them to appear. This, in
+ # particular, prevents bbot workers to set task result status to warning.
+ #
+ $* 2>&1 | sed -e 's/warning: (fetching (over|whole) .*)/info: \1/' >&2 2>!;
if ($git_protocol == 'https-dumb')
warn = "warning: fetching whole branch history$reason_dumb$warn_dumb"