GNU bug report logs -
#59989
[PATCH] tests: Fix txinfo-include test for texinfo 7.x
Previous Next
Reported by: Frederic Berat <fberat <at> redhat.com>
Date: Mon, 12 Dec 2022 08:44:02 UTC
Severity: normal
Tags: patch
Done: Karl Berry <karl <at> freefriends.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 59989 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Fine with me, thanks !
On Mon, Dec 12, 2022 at 11:52 PM Karl Berry <karl <at> freefriends.org> wrote:
> Hi Frederic,
>
> Texinfo modified its behavior regarding apostrophes, which are now
> replaced by UTF-8 right single quotes by default.
>
> Sorry to hear it, but not surprised.
>
> -GNU's Not Unix.
> +@verb{.GNU's Not Unix..}
>
> I don't think there's any guarantee that verb quotes will also be
> "helpfully" changed in the future. One wouldn't think so, but ...
>
> So instead, I changed the test document to avoid apostrophes. Pushed the
> below. Hope it flies. --thanks, karl.
>
> --- a/t/txinfo-include.sh
> +++ b/t/txinfo-include.sh
> @@ -28,6 +28,9 @@ main_TEXINFOS = one.texi two.texi three.texi
> sub_more_TEXINFOS = sub/desc.texi sub/hist.texi
> END
>
> +# We avoid apostrophes in the test document since Texinfo
> +# turns them into UTF-8, which is not easy to grep.
> +#
> cat > main.texi << 'END'
> \input texinfo
> @setfilename main.info
> @@ -61,8 +64,8 @@ END
>
> cat > three.texi << 'END'
> @node three
> -@chapter Chapter two
> -GNU's Not Unix.
> +@chapter Chapter three
> +Quux quux quux.
> END
>
> mkdir sub
> @@ -106,7 +109,7 @@ check_info_contents ()
> srcdir=${1-.}
> $FGREP "Foo bar, baz." $srcdir/main.info
> $FGREP "Blah Blah Blah." $srcdir/main.info
> - $FGREP "GNU's Not Unix." $srcdir/main.info
> + $FGREP "Quux quux quux." $srcdir/main.info
> $FGREP 'It does something, really.' $srcdir/sub/more.info
> $FGREP 'It was written somehow.' $srcdir/sub/more.info
> }
>
> compile finished at Mon Dec 12 14:48:33 2022
>
>
>
>
[Message part 2 (text/html, inline)]
This bug report was last modified 2 years and 217 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.