diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-09-13 14:50:14 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-09-13 14:50:14 +0200 |
commit | 1946eadee8f7a342a338048a89161c98e5353ff3 (patch) | |
tree | 11179dccd2ee4c8c739391dba594c1167677de13 /tests/colon4.test | |
parent | f9fe878b53bca8297dbb6df861a99632f2f9b5b3 (diff) | |
download | automake-1946eadee8f7a342a338048a89161c98e5353ff3.tar.gz |
Fix regression in test `colon4.test'.
* tests/colon4.test: Fix botched editing to `configure.in'
that made the test useless. Since we are at it, improve
comments and make grepping of generated Makefile.in slighty
stricter.
Regression introduced by change "Modernize, improve and/or
extend tests `colon*.test" (Stefano Lattarini, 2010-08-08).
Diffstat (limited to 'tests/colon4.test')
-rwxr-xr-x | tests/colon4.test | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/colon4.test b/tests/colon4.test index 97a447914..9af6b4e8b 100755 --- a/tests/colon4.test +++ b/tests/colon4.test @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# Make sure ":" works with files automake generates. -# This test is for multiple ":"s. +# Make sure multiple ":"s in AC_CONFIG_FILES do not generate broken +# rebuild rules. # Test from Maciej W. Rozycki. . ./defs || Exit 1 @@ -24,7 +24,7 @@ set -e cat >> configure.in <<END -AC_CONFIG_FILES([zardoz:two:three]) +AC_CONFIG_FILES([zardoz:one:two:three]) AC_OUTPUT END @@ -36,6 +36,7 @@ END $ACLOCAL $AUTOMAKE -# The rule should regenerate the file "zardoz". -grep '^zardoz:one:two' Makefile.in && Exit 1 +# The rule should regenerate the file "zardoz", not a meaningless +# file "'zardoz:one:two". +$FGREP 'zardoz:one:two' Makefile.in && Exit 1 Exit 0 |