From 57fdb562754cad478fc36af175d4815b313242fc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Nov 2009 12:21:15 -0800 Subject: tests: more stringent error checking in logs If we logged "ERROR", we should know about it. --- t/test-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/test-lib.sh b/t/test-lib.sh index e795494..641bb3b 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -80,7 +80,7 @@ check_stderr () { set +u _r_err=${1-${r_err}} set -u - if grep Error $_r_err + if grep -i Error $_r_err then die "Errors found in $_r_err" elif grep SIGKILL $_r_err -- cgit v1.2.3-24-ge0c7