[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59989: [PATCH] tests: Fix txinfo-include test for texinfo 7.x

From: Karl Berry
Subject: bug#59989: [PATCH] tests: Fix txinfo-include test for texinfo 7.x
Date: Mon, 12 Dec 2022 15:51:03 -0700

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/
+++ b/t/
@@ -28,6 +28,9 @@ main_TEXINFOS = one.texi two.texi three.texi
 sub_more_TEXINFOS = sub/desc.texi sub/hist.texi
+# 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
@@ -61,8 +64,8 @@ END
 cat > three.texi << 'END'
 @node three
-@chapter Chapter two
-GNU's Not Unix.
+@chapter Chapter three
+Quux quux quux.
 mkdir sub
@@ -106,7 +109,7 @@ check_info_contents ()
   $FGREP "Foo bar, baz."                        $srcdir/
   $FGREP "Blah Blah Blah."                      $srcdir/
-  $FGREP "GNU's Not Unix."                      $srcdir/
+  $FGREP "Quux quux quux."                      $srcdir/
   $FGREP 'It does something, really.'           $srcdir/sub/
   $FGREP 'It was written somehow.'              $srcdir/sub/

compile finished at Mon Dec 12 14:48:33 2022

reply via email to

[Prev in Thread] Current Thread [Next in Thread]