From: Stefano Lattarini Date: Fri, 27 Jul 2012 09:28:37 +0000 (+0200) Subject: [ng] tests: fix a spurious failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78912201b96ce406713c2d312774e0e4bbd363f5;p=thirdparty%2Fautomake.git [ng] tests: fix a spurious failure * t/override-conditional-1.sh: Here, due to the recent edits of 'lib/am/header-vars.am'. Signed-off-by: Stefano Lattarini --- diff --git a/t/override-conditional-1.sh b/t/override-conditional-1.sh index 42e03505c..275234698 100755 --- a/t/override-conditional-1.sh +++ b/t/override-conditional-1.sh @@ -36,7 +36,8 @@ $ACLOCAL $AUTOMAKE -Wno-override # "ps:" should be output in two conditions -test $(grep -c '[^-]ps:' Makefile.in) -eq 2 +grep 'ps:' Makefile.in # For debugging. +test $(grep -c '@ps:' Makefile.in) -eq 2 grep '@COND_TRUE@ps: *foobar' Makefile.in grep '@COND_FALSE@ps: *ps-am' Makefile.in