]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] tests: fix a spurious failure
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Jul 2012 09:28:37 +0000 (11:28 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 27 Jul 2012 09:30:04 +0000 (11:30 +0200)
* t/override-conditional-1.sh: Here, due to the recent edits
of 'lib/am/header-vars.am'.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/override-conditional-1.sh

index 42e03505c03c9571aa70cf1b44b65859ab7a5a79..2752346984b44813c6ebbfb5fcfbcf8df73318c5 100755 (executable)
@@ -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