From 3dc001c68356de2e89dbfe4b6dbecd5f51dc0006 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Mon, 14 Nov 2011 20:33:29 +0000 Subject: [PATCH] Relax timeout checks. --- tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test b/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test index 92180edb..3f25fc5b 100755 --- a/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test +++ b/tests/log/faillog/40_faillog-l-a-u_range_open/faillog.test @@ -58,8 +58,8 @@ echo -n "Check the list of users with failures..." cut -c-28 tmp/faillog.out > tmp/faillog.list diff -au data/faillog.list tmp/faillog.list echo "OK" -echo "There should be 6 or 7 secondes remaining for baz..." -grep "^baz .* \[[67]s left\]$" tmp/faillog.out +echo "There should be between 6 and 8 secondes remaining for baz..." +grep "^baz .* \[[6-8]s left\]$" tmp/faillog.out echo "OK" echo "There should be between 2 and 4 secondes remaining for bar..." grep "^bar .* \[[2-4]s left\]$" tmp/faillog.out