From: Brandon Casey Date: Mon, 18 May 2009 23:44:42 GMT Subject: [PATCH 5/8] t3901: avoid negation on right hand side of '|' Message-ID: In-Reply-To: Some shells do not properly handle constructs of the form: spew_something | ! process_input So rewrite this to be: spew_something | process_input; test $? != 0 Signed-off-by: Brandon Casey --- t/t3901-i18n-patch.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/t/t3901-i18n-patch.sh b/t/t3901-i18n-patch.sh index 7655da3..b04f74a 100755 --- a/t/t3901-i18n-patch.sh +++ b/t/t3901-i18n-patch.sh @@ -19,7 +19,7 @@ check_encoding () { 8859) grep "^encoding ISO-8859-1" ;; *) - ! grep "^encoding ISO-8859-1" ;; + grep "^encoding ISO-8859-1"; test "$?" != 0 ;; esac || { bad=1 break -- 1.6.3.1.24.g152f4