texinfo-commits
[Top][All Lists]
Advanced

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

[5515] new test


From: Gavin D. Smith
Subject: [5515] new test
Date: Sun, 04 May 2014 10:18:00 +0000

Revision: 5515
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5515
Author:   gavin
Date:     2014-05-04 10:17:59 +0000 (Sun, 04 May 2014)
Log Message:
-----------
new test

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

Added Paths:
-----------
    trunk/info/t/index-apropos.drib
    trunk/info/t/index-apropos.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-05-03 23:12:13 UTC (rev 5514)
+++ trunk/ChangeLog     2014-05-04 10:17:59 UTC (rev 5515)
@@ -1,13 +1,17 @@
+2014-05-04  Gavin Smith  <address@hidden>
+
+       * info/t/apropos-index.sh: New test.
+
 2014-05-03  Gavin Smith  <address@hidden>
 
-       * indices.c (info_indices_of_file_buffer, do_info_index_search)
+       * info/indices.c (info_indices_of_file_buffer, do_info_index_search)
        (index_entry_exists, apropos_in_all_indices, info_index_apropos)
        (info_virtual_index)
        Call free instead of info_free_references or info_reference_free,
        because the REFERENCE * objects in the array are still referenced
        elsewhere.
 
-       * info-utils.c (info_concatenate_references): Don't free arguments.
+       * info/info-utils.c (info_concatenate_references): Don't free arguments.
        Always return a new array, even if either of the arguments are null.
        Callers updated.
 
@@ -29,9 +33,9 @@
        * info/window.c, info/man.c (clean_manpage): Function moved.
        * info/window.c, info/info-utils.c (ansi_escape): Function moved.
 
-       * info.c/info-utils.c (info_get_menu_entry_by_label): Arguments
+       * info/info-utils.c (info_get_menu_entry_by_label): Arguments
        changed.
-       * info.c/session.c (entry_in_menu): Arguments changed.
+       * info/session.c (entry_in_menu): Arguments changed.
 
 2014-05-02  Gavin Smith  <address@hidden>
 

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-05-03 23:12:13 UTC (rev 5514)
+++ trunk/info/Makefile.am      2014-05-04 10:17:59 UTC (rev 5515)
@@ -105,6 +105,7 @@
        t/where-dir-file.sh \
        t/tab.sh \
        t/index.sh \
+       t/index-apropos.sh \
        t/split-index.sh \
        t/index-long-nodeline.sh \
        t/help.sh

Added: trunk/info/t/index-apropos.drib
===================================================================
--- trunk/info/t/index-apropos.drib                             (rev 0)
+++ trunk/info/t/index-apropos.drib     2014-05-04 10:17:59 UTC (rev 5515)
@@ -0,0 +1,4 @@
+xindex-apropos
+link
+       
+i      q
\ No newline at end of file

Added: trunk/info/t/index-apropos.sh
===================================================================
--- trunk/info/t/index-apropos.sh                               (rev 0)
+++ trunk/info/t/index-apropos.sh       2014-05-04 10:17:59 UTC (rev 5515)
@@ -0,0 +1,27 @@
+#!/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/>.
+
+. t/Init-test.inc
+. t/Init-intera.inc
+
+# Type "M-x index-apropos", look for "link" in indices, select first
+# result. Then type "i" followed by <TAB> to check the indices in the
+# file are still there.
+$GINFO --restore t/index-apropos.drib
+RETVAL=$?
+
+. t/Cleanup.inc
+


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




reply via email to

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