From ae0c39e09b27e953f41b2714c5d194a9e9a00da2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 17 Feb 2010 19:23:10 -0800 Subject: test-lib: don't croak if "error" is in the test name --- 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 60ace97..e5c4b2f 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -63,7 +63,7 @@ check_stderr () { set +u _r_err=${1-${r_err}} set -u - if grep -i Error $_r_err + if grep -v $T $_r_err | grep -i Error then die "Errors found in $_r_err" elif grep SIGKILL $_r_err -- cgit v1.2.3-24-ge0c7