texinfo-commits
[Top][All Lists]
Advanced

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

[5809] index search test


From: Gavin D. Smith
Subject: [5809] index search test
Date: Mon, 08 Sep 2014 13:54:38 +0000

Revision: 5809
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5809
Author:   gavin
Date:     2014-09-08 13:54:38 +0000 (Mon, 08 Sep 2014)
Log Message:
-----------
index search test

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

Added Paths:
-----------
    trunk/info/t/index-search.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-09-08 13:42:59 UTC (rev 5808)
+++ trunk/ChangeLog     2014-09-08 13:54:38 UTC (rev 5809)
@@ -9,6 +9,8 @@
        * info/info-utils.c (printed_representation): Return byte length 0 for
        "Info tags" so that they are hidden on the screen.
 
+       * info/t/index-search.sh: New test.
+
 2014-09-07  Gavin Smith  <address@hidden>
 
        * info/window.c (set_window_pagetop): Set goal column as well as point

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-09-08 13:42:59 UTC (rev 5808)
+++ trunk/info/Makefile.am      2014-09-08 13:54:38 UTC (rev 5809)
@@ -115,6 +115,7 @@
        t/split-file-menu.sh \
        t/index.sh \
        t/index-apropos.sh \
+       t/index-search.sh \
        t/split-index.sh \
        t/index-long-nodeline.sh \
        t/menu-sequence.sh \

Added: trunk/info/t/index-search.sh
===================================================================
--- trunk/info/t/index-search.sh                                (rev 0)
+++ trunk/info/t/index-search.sh        2014-09-08 13:54:38 UTC (rev 5809)
@@ -0,0 +1,31 @@
+#!/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-inter.inc 
+
+run_ginfo -f intera
+# Search in indices with 'virtual-index' command.  Go down to index
+# entry and select it.
+printf 'Ibc\r\016\016\016\016\016\016\016\016\016\rDq' >$PTY_TYPE
+
+. $t/Timeout-test.inc
+
+# Return non-zero (test failure) if files differ
+diff $GINFO_OUTPUT $t/node-target
+
+. $t/Cleanup.inc


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




reply via email to

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