texinfo-commits
[Top][All Lists]
Advanced

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

[5865] new test for effect of carriage return removal on tag table


From: Gavin D. Smith
Subject: [5865] new test for effect of carriage return removal on tag table
Date: Wed, 08 Oct 2014 17:42:57 +0000

Revision: 5865
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5865
Author:   gavin
Date:     2014-10-08 17:42:55 +0000 (Wed, 08 Oct 2014)
Log Message:
-----------
new test for effect of carriage return removal on tag table

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/Makefile.am

Added Paths:
-----------
    trunk/info/t/cr-tag-table.sh
    trunk/info/t/infodir/cr-tag-table.info

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-10-06 19:33:29 UTC (rev 5864)
+++ trunk/ChangeLog     2014-10-08 17:42:55 UTC (rev 5865)
@@ -1,3 +1,7 @@
+2014-10-08  Gavin Smith  <address@hidden>
+
+       * info/t/cr-tag-table.sh: New test.
+
 2014-10-06  Gavin Smith  <address@hidden>
 
        * info/man.c: Don't include sys/ioctl.h.

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-10-06 19:33:29 UTC (rev 5864)
+++ trunk/info/Makefile.am      2014-10-08 17:42:55 UTC (rev 5865)
@@ -106,6 +106,7 @@
        t/dir-menus-sloppily.sh \
        t/where-dir-file.sh \
        t/all-only.sh \
+       t/cr-tag-table.sh \
        t/tab.sh \
        t/tab-argument.sh \
        t/body-start.sh \
@@ -139,6 +140,7 @@
        t/help.sh
 
 XFAIL_TESTS = \
+       t/cr-tag-table.sh \
        t/quoted-label-as-target.sh \
        t/quoted-target.sh \
        t/quoted-label-and-target.sh \

Added: trunk/info/t/cr-tag-table.sh
===================================================================
--- trunk/info/t/cr-tag-table.sh                                (rev 0)
+++ trunk/info/t/cr-tag-table.sh        2014-10-08 17:42:55 UTC (rev 5865)
@@ -0,0 +1,33 @@
+#!/bin/sh
+# Copyright (C) 2014 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
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+
+# Check whether we can reach a node in a file with a tag table which is 
+# after a node with some "CR-LF" line endings.
+# The occasional presence of these causes later nodes in the "GNU COBOL 
+# Programmer's Guide" (23NOV2013 build of GNU COBOL 2.1), 
+# "gnucobpg.info", to be inaccessible when the error has built up to be 
+# more than the 1000 bytes of tolerance.
+$GINFO --strict-node-location --file cr-tag-table.info \
+       --node Second >$GINFO_OUTPUT
+
+grep 'Node: Second' $GINFO_OUTPUT
+RETVAL=$?
+
+. $t/Cleanup.inc
+


Property changes on: trunk/info/t/cr-tag-table.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/info/t/infodir/cr-tag-table.info
===================================================================
(Binary files differ)


Property changes on: trunk/info/t/infodir/cr-tag-table.info
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream




reply via email to

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