aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-02-19 22:47:05 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-19 22:47:05 +0300
commita26cadc916b1ddf056f6722cfb470f3e790d1d02 (patch)
tree6cdf49f765314795c1f22981a7137aa0a2cf3032 /tests
parent11dfd8bc4022b6596c2158594f18544a1f7ffa3e (diff)
Convert expected git repo fetch warnings to infos in pkg-status testscript
Diffstat (limited to 'tests')
-rw-r--r--tests/pkg-status.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/pkg-status.test b/tests/pkg-status.test
index 3e27294..511cab2 100644
--- a/tests/pkg-status.test
+++ b/tests/pkg-status.test
@@ -197,7 +197,12 @@ else
:
$clone_root_cfg;
$rep_add "$rep/libbar.git#master" && $rep_add "$rep/style.git#master";
- $rep_fetch;
+
+ # 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_fetch 2>&1 | \
+ sed -e 's/warning: (fetching (over|whole) .*)/info: \1/' >&2 2>!;
$* style-basic >'unknown'
}