diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-07-12 17:37:33 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2010-11-08 18:23:10 +0100 |
commit | cdd3cf335605dd91c65c4e6744efe9c94854e9ce (patch) | |
tree | 503f87855f44908a7deb92d8c69e31cb81655075 /tests/man5.test | |
parent | 551b1133da2b17fb3d2171346fd4af86f05ad5fe (diff) | |
download | automake-cdd3cf335605dd91c65c4e6744efe9c94854e9ce.tar.gz |
Improve and extend tests on man pages support.
* tests/man.test: Enable `errexit' shell flag, and related changes.
Make grepping of generated Makefile.in slighty stricter.
* tests/man3.test: Add trailing `:' command.
* tests/man5.test: Prefer cat + here-doc over echo to append to
configure.in.
* tests/man2.test: Likewise, and add trailing `:' command.
* tests/man4.test: More thorough and consistent checking of make
error messages. Place fake `help2man' program in a new `bin'
directory rather than in `.'. Move the checks using the real
`help2man' program to ...
* tests/man6.test: ... this new test, and extend them. This test
passes with GNU make and Solaris make, still fails with BSD make.
* tests/man7.test: New test, extracted from old man4.test, which
checks for a bug in maintainer-clean w.r.t. generated manpages.
* tests/man8.test: New test, extracted from old man4.test, which
checks for a bug in distcheck w.r.t. generated manpages. Passes
with GNU make and Solaris make, still fails with BSD make.
Diffstat (limited to 'tests/man5.test')
-rwxr-xr-x | tests/man5.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/man5.test b/tests/man5.test index 437dc3337..f21a09942 100755 --- a/tests/man5.test +++ b/tests/man5.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,7 +20,9 @@ set -e -echo AC_OUTPUT >> configure.in +cat >> configure.in <<'END' +AC_OUTPUT +END cat > Makefile.am << 'END' man_MANS = foo-1.4.5/foo.2 foo-1.4.5/bar.3 baz-1.4.2 |