From 1b9b5ce21a10ee4f3850994633ef4f8a9dc1416f Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan.bosch@open-xchange.com> Date: Wed, 20 May 2020 02:03:17 +0200 Subject: [PATCH] tests: plugins: extprograms: pipe/errors.svtest - Fix "Timeout" test. --- tests/plugins/extprograms/pipe/errors.svtest | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/plugins/extprograms/pipe/errors.svtest b/tests/plugins/extprograms/pipe/errors.svtest index 802caeed1..af36b9112 100644 --- a/tests/plugins/extprograms/pipe/errors.svtest +++ b/tests/plugins/extprograms/pipe/errors.svtest @@ -84,12 +84,11 @@ test "Timeout" { test_fail "pipe should have timed out"; } - if not test_error :count "eq" :comparator "i;ascii-numeric" "1" { - test_fail "wrong number of errors reported"; - } - - if not test_error :index 1 :contains "failed to pipe" { - test_fail "wrong error reported"; - } + if not test_error :count "eq" :comparator "i;ascii-numeric" "2" { + test_fail "wrong number of errors reported"; + } + if not test_error :index 2 :contains "failed to pipe" { + test_fail "wrong error reported"; + } } -- GitLab