texinfo-commits
[Top][All Lists]
Advanced

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

[5924] test for splitting window containing dir node


From: Gavin D. Smith
Subject: [5924] test for splitting window containing dir node
Date: Wed, 12 Nov 2014 14:36:28 +0000

Revision: 5924
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5924
Author:   gavin
Date:     2014-11-12 14:36:12 +0000 (Wed, 12 Nov 2014)
Log Message:
-----------
test for splitting window containing dir node

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

Added Paths:
-----------
    trunk/info/t/window-split-dir.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-11-11 17:54:12 UTC (rev 5923)
+++ trunk/ChangeLog     2014-11-12 14:36:12 UTC (rev 5924)
@@ -1,3 +1,7 @@
+2014-11-12  Gavin Smith  <address@hidden>
+
+       * info/t/window-split-dir.sh: New test.
+
 2014-11-11  Karl Berry  <address@hidden>
 
        * util/texi2dvi: minimize function header comments, reorder,

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-11-11 17:54:12 UTC (rev 5923)
+++ trunk/info/Makefile.am      2014-11-12 14:36:12 UTC (rev 5924)
@@ -118,6 +118,7 @@
        t/goal-column.sh \
        t/last-no-history.sh \
        t/split-footnotes.sh \
+       t/window-split-dir.sh \
        t/last-node-not-top-level.sh \
        t/adjust-anchors.sh \
        t/search-after-tag.sh \

Added: trunk/info/t/window-split-dir.sh
===================================================================
--- trunk/info/t/window-split-dir.sh                            (rev 0)
+++ trunk/info/t/window-split-dir.sh    2014-11-12 14:36:12 UTC (rev 5924)
@@ -0,0 +1,30 @@
+#!/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
+
+# Load dir node
+run_ginfo
+# Split it in two, go to the new window, and make it the only window.
+printf '\0302\030o\0301Dq' >$PTY_TYPE
+. $t/Timeout-test.inc
+
+grep '^File: dir' $GINFO_OUTPUT
+
+. $t/Cleanup.inc
+


Property changes on: trunk/info/t/window-split-dir.sh
___________________________________________________________________
Added: svn:executable
   + *




reply via email to

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