]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix an incomplete comment
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 Jun 2011 07:50:30 +0000 (09:50 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 Jun 2011 07:50:30 +0000 (09:50 +0200)
* tests/subst-no-trailing-empty-line.test: Fix an incomplete
comment, and move it to a more proper place.  Minor cosmetic
fixes to other comments.

ChangeLog
tests/subst-no-trailing-empty-line.test

index 83bae8db025e9b2838933dc43546f215c8a9263a..37f029c750f7c8f85815e7e5120b0f93e93f3557 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix an incomplete comment
+       * tests/subst-no-trailing-empty-line.test: Fix an incomplete
+       comment, and move it to a more proper place.  Minor cosmetic
+       fixes to other comments.
+
 2011-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        maintcheck: avoid few more spurious failures
index 595644eb4da9d01676505b96beb4eb0d7d0cc57d..a970174ca69176875b4c4fe97908d164e41de873 100755 (executable)
 
 . ./defs || Exit 1
 
+# These are deliberately quite long, so that the xxx_PROGRAMS definition
+# in Makefile.am below will be split on multiple lines, with the last
+# line containing only @substituted@ stuff that expands to empty (this is
+# required to expose the bug we are testing).
 v1=ABCDEFGHIJKLMNOPQRSTUVWX
 v2=ABCDEFGHIJKLMNOPQRSTUVWXY
 v3=ABCDEFGHIJKLMNOPQRSTUVWXYZ
-bs='\\' # Literal backslash for grep.
+
+# Literal backslash for use by grep.
+bs='\\'
 
 cat >> configure.in <<END
 AC_SUBST([A], [''])
-# These are deliberately quite long, so that the xxx_PROGRAMS definition
-# in Makefile.am below will be split on multiple lines, with the last
-# line
 AC_SUBST([$v1], [''])
 AC_SUBST([$v2], [''])
 AC_SUBST([$v3], [''])
@@ -61,7 +64,8 @@ END
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
-$EGREP -n 'ABCD|am__empty' Makefile.in # For debugging,
+# For debugging.
+$EGREP -n 'ABCD|am__empty' Makefile.in
 # Sanity check.
 test `$EGREP -c "^[ $tab]*@$v2@ @$v3@[ $tab]*$bs?$" Makefile.in` -eq 2