[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5871] some tests for info (file)node invocation
From: |
Gavin D. Smith |
Subject: |
[5871] some tests for info (file)node invocation |
Date: |
Mon, 13 Oct 2014 18:37:37 +0000 |
Revision: 5871
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5871
Author: gavin
Date: 2014-10-13 18:37:36 +0000 (Mon, 13 Oct 2014)
Log Message:
-----------
some tests for info (file)node invocation
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/Makefile.am
Added Paths:
-----------
trunk/info/t/spec-file-node.sh
trunk/info/t/spec-menu.sh
trunk/info/t/spec-no-node.sh
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-10-13 18:25:05 UTC (rev 5870)
+++ trunk/ChangeLog 2014-10-13 18:37:36 UTC (rev 5871)
@@ -8,6 +8,9 @@
<following menus>: Use a node from our list of initial nodes to
start at if initial_file is null.
+ * info/t/spec-file-node.sh, info/t/spec-no-node.sh,
+ info/t/spec-menu.sh: New tests.
+
2014-10-09 Karl Berry <address@hidden>
* doc/texinfo.texi (Node Line Requirements, Writing a Menu):
Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am 2014-10-13 18:25:05 UTC (rev 5870)
+++ trunk/info/Makefile.am 2014-10-13 18:37:36 UTC (rev 5871)
@@ -105,6 +105,9 @@
t/dir-3-menus.sh \
t/dir-menus-sloppily.sh \
t/where-dir-file.sh \
+ t/spec-file-node.sh \
+ t/spec-no-node.sh \
+ t/spec-menu.sh \
t/all-only.sh \
t/cr-tag-table.sh \
t/tab.sh \
Added: trunk/info/t/spec-file-node.sh
===================================================================
--- trunk/info/t/spec-file-node.sh (rev 0)
+++ trunk/info/t/spec-file-node.sh 2014-10-13 18:37:36 UTC (rev 5871)
@@ -0,0 +1,20 @@
+#!/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
+
+$GINFO '(file1)Top' | grep '^File: file1,'
Property changes on: trunk/info/t/spec-file-node.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/info/t/spec-menu.sh
===================================================================
--- trunk/info/t/spec-menu.sh (rev 0)
+++ trunk/info/t/spec-menu.sh 2014-10-13 18:37:36 UTC (rev 5871)
@@ -0,0 +1,23 @@
+#!/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
+
+# Starting at a node given as a specification, follow several menus in a
+# file to get to desired node
+$GINFO '(file-menu)Node 1' 'Node 2' 'Node 3' | grep 'Arrived at Node 3.'
+
Property changes on: trunk/info/t/spec-menu.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/info/t/spec-no-node.sh
===================================================================
--- trunk/info/t/spec-no-node.sh (rev 0)
+++ trunk/info/t/spec-no-node.sh 2014-10-13 18:37:36 UTC (rev 5871)
@@ -0,0 +1,20 @@
+#!/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
+
+$GINFO '(file1)' | grep '^File: file1,'
Property changes on: trunk/info/t/spec-no-node.sh
___________________________________________________________________
Added: svn:executable
+ *
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5871] some tests for info (file)node invocation,
Gavin D. Smith <=