texinfo-commits
[Top][All Lists]
Advanced

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

[5667] new test for searching after an Info tag


From: Gavin D. Smith
Subject: [5667] new test for searching after an Info tag
Date: Sun, 15 Jun 2014 15:40:41 +0000

Revision: 5667
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5667
Author:   gavin
Date:     2014-06-15 15:40:40 +0000 (Sun, 15 Jun 2014)
Log Message:
-----------
new test for searching after an Info tag

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/Makefile.am
    trunk/info/t/infodir/intera.info

Added Paths:
-----------
    trunk/info/t/search-after-tag.drib
    trunk/info/t/search-after-tag.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-06-15 15:23:50 UTC (rev 5666)
+++ trunk/ChangeLog     2014-06-15 15:40:40 UTC (rev 5667)
@@ -1,5 +1,10 @@
 2014-06-15  Gavin Smith  <address@hidden>
 
+       * info/t/search-after-tag.sh: New test.
+       * info/t/infodir/intera.info: Add node for new test.
+
+2014-06-15  Gavin Smith  <address@hidden>
+
        * info/info-utils.c (read_bracketed_filename): Split out from
        info_parse_node and rewritten for clarity.
        (read_quoted_string): Set output parameter to null on error.

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-06-15 15:23:50 UTC (rev 5666)
+++ trunk/info/Makefile.am      2014-06-15 15:40:40 UTC (rev 5667)
@@ -116,6 +116,7 @@
        t/body-start.sh \
        t/end-of-line.sh \
        t/last-no-history.sh \
+       t/search-after-tag.sh \
        t/split-file-menu.sh \
        t/index.sh \
        t/index-apropos.sh \
@@ -130,6 +131,7 @@
        t/help.sh
 
 XFAIL_TESTS = \
+       t/search-after-tag.sh \
        t/quoted-label-as-target.sh \
        t/quoted-target.sh \
        t/quoted-label-and-target.sh \

Modified: trunk/info/t/infodir/intera.info
===================================================================
(Binary files differ)

Added: trunk/info/t/search-after-tag.drib
===================================================================
(Binary files differ)


Property changes on: trunk/info/t/search-after-tag.drib
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: trunk/info/t/search-after-tag.sh
===================================================================
--- trunk/info/t/search-after-tag.sh                            (rev 0)
+++ trunk/info/t/search-after-tag.sh    2014-06-15 15:40:40 UTC (rev 5667)
@@ -0,0 +1,34 @@
+#!/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
+. $t/Init-intera.inc
+
+# Search for text in a node that appears after an Info tag
+$GINFO -f intera --restore $t/search-after-tag.drib
+
+if ! test -f $GINFO_OUTPUT
+then
+       RETVAL=1
+else
+       # Return non-zero (test failure) if files differ
+       diff $GINFO_OUTPUT $t/node-target
+       RETVAL=$?
+fi
+
+. $t/Cleanup.inc
+


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




reply via email to

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