From eaa53725d148cbda064fc598aa6a2a422e9cc422 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 13 Nov 2011 10:25:43 +0100 Subject: [PATCH] tests: fix spurious failure with older install-info * tests/install-info-dir.test (foo.texi): Also add proper `@settitle', `@dircategory' and `@direntry' directive, otherwise older versions of `install-info' (e.g., 4.8) will fail to create the `dir' index file in ${infodir}. Problem revealed by a failure on NetBSD 5.1. --- ChangeLog | 9 +++++++++ tests/install-info-dir.test | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3cccebc..1e624a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-11-13 Stefano Lattarini + + tests: fix spurious failure with older install-info + * tests/install-info-dir.test (foo.texi): Also add proper + `@settitle', `@dircategory' and `@direntry' directive, otherwise + older versions of `install-info' (e.g., 4.8) will fail to create + the `dir' index file in ${infodir}. + Problem revealed by a failure on NetBSD 5.1. + 2011-11-12 Stefano Lattarini maintcheck: fix spurious failure in 'color2.test' diff --git a/tests/install-info-dir.test b/tests/install-info-dir.test index f75b115..044bf6d 100755 --- a/tests/install-info-dir.test +++ b/tests/install-info-dir.test @@ -43,6 +43,14 @@ END cat > foo.texi << 'END' \input texinfo @setfilename foo.info +@c All the following directives might be required to allow older +@c versions of the `install-info' program (e.g., version 4.8) to +@c create the `dir' index file in ${infodir}. Don't remove them. +@settitle foo +@dircategory Dummy utilities +@direntry +* Foo: (foo). Does nothing at all, but has a nice name. +@end direntry @node Top Hello world! @bye -- 2.7.4