Merge branch 'tests-man-fixes'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 21 Dec 2010 01:22:22 +0000 (02:22 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 21 Dec 2010 01:22:22 +0000 (02:22 +0100)
ChangeLog
tests/man8.test

index c80c2ee..3e76016 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
+       man8.test: avoid comments inside recipe commands.
+       * tests/man8.test: Remove shell comments from makefile rule
+       commands, as they are not portable to (at least) Tru64 make.
+
+2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
        Fix sed-related buglet in test "subdir5.test"
        * tests/subdir5.test: Always terminate text passed to the
        `i' sed command with a newline, to work around limitations
index 2ef52b4..377eeff 100755 (executable)
@@ -23,7 +23,8 @@ set -e
 cat > Makefile.am << 'END'
 dist_man_MANS = foo.1
 foo.1:
-       rm -f $(srcdir)/$@  # fails if $(srcdir) is unwritable
+## this 'rm' command will fail if $(srcdir) is unwritable
+       rm -f $(srcdir)/$@
        : > $(srcdir)/$@
 END