Mercurial > hg > octave-kai > gnulib-hg
changeset 10804:ace506ceaf99
test-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined
* tests/test-argp-2.sh: When PACKAGE_BUGREPORT was defined, this
test would fail due to the difference in the Report bugs to ...
line. The expected address is empty, "<>", while the actual
would contain e.g., "<bug-tar@gnu.org>". Filter out any address.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 13 Nov 2008 11:31:01 +0100 |
parents | 031ed4066664 |
children | ba850053edd1 |
files | ChangeLog tests/test-argp-2.sh |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-11-13 Jim Meyering <meyering@redhat.com> + + test-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined + * tests/test-argp-2.sh: When PACKAGE_BUGREPORT was defined, this + test would fail due to the difference in the Report bugs to ... + line. The expected address is empty, "<>", while the actual + would contain e.g., "<bug-tar@gnu.org>". Filter out any address. + 2008-11-12 Bruno Haible <bruno@clisp.org> lstat: don't compile lstat.c on systems lacking lstat
--- a/tests/test-argp-2.sh +++ b/tests/test-argp-2.sh @@ -93,7 +93,9 @@ Report bugs to <>. EOT -./test-argp$EXEEXT --help | func_compare || ERR=1 +# Compare --help output, but filter out any bug-reporting email address. +./test-argp$EXEEXT --help \ + | sed 's/^\(Report bugs to \)<[^>]*>.$/\1<>./' | func_compare || ERR=1 #### # Test ambiguous option handling