From: Stefano Lattarini Date: Wed, 31 Oct 2012 11:37:51 +0000 (+0100) Subject: tests: fix a spurious typo-related failure X-Git-Tag: v1.12.5~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=040b69aea1c3ea7fdfd7d832cf07a2ae4ea019da;p=thirdparty%2Fautomake.git tests: fix a spurious typo-related failure * t/self-check-shell-no-trail-bslash.sh: Here, due to a mistaken use of "||" instead of "&&". Signed-off-by: Stefano Lattarini --- diff --git a/t/self-check-shell-no-trail-bslash.sh b/t/self-check-shell-no-trail-bslash.sh index b7f07f7ff..48cfb7fa3 100755 --- a/t/self-check-shell-no-trail-bslash.sh +++ b/t/self-check-shell-no-trail-bslash.sh @@ -39,7 +39,7 @@ test "$($SHELL -c 'echo is o\k')" = "is ok" $MAKE good -$MAKE bad SHELL="$SHELL" 2>stderr || { cat stderr >&2; exit 1; } +$MAKE bad SHELL="$SHELL" 2>stderr && { cat stderr >&2; exit 1; } cat stderr >&2 $FGREP "recipe ends with backslash character" stderr