texinfo-commits
[Top][All Lists]
Advanced

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

[5577] info tests: work better in out-of-path builds


From: Gavin D. Smith
Subject: [5577] info tests: work better in out-of-path builds
Date: Sun, 18 May 2014 14:04:07 +0000

Revision: 5577
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5577
Author:   gavin
Date:     2014-05-18 14:04:06 +0000 (Sun, 18 May 2014)
Log Message:
-----------
info tests: work better in out-of-path builds

Modified Paths:
--------------
    trunk/info/Makefile.am
    trunk/info/t/body-start.sh
    trunk/info/t/dir-3-menus.sh
    trunk/info/t/dir-file-index.sh
    trunk/info/t/dir-file-menu.sh
    trunk/info/t/dir-file-no-menu.sh
    trunk/info/t/dir-file-node.sh
    trunk/info/t/dir-file-sloppily.sh
    trunk/info/t/dir-file.sh
    trunk/info/t/dir-menus-sloppily.sh
    trunk/info/t/dir-no-file.sh
    trunk/info/t/dir-nondir.sh
    trunk/info/t/dir.sh
    trunk/info/t/file-index.sh
    trunk/info/t/file-node-with-dot.sh
    trunk/info/t/file-node.sh
    trunk/info/t/file-nodes.sh
    trunk/info/t/file-relative-path.sh
    trunk/info/t/file.sh
    trunk/info/t/goto-quoted.sh
    trunk/info/t/help.sh
    trunk/info/t/index-apropos.sh
    trunk/info/t/index-long-nodeline.sh
    trunk/info/t/index.sh
    trunk/info/t/next-quoted.sh
    trunk/info/t/no-file.sh
    trunk/info/t/quoted-label-and-target.sh
    trunk/info/t/quoted-label-as-target.sh
    trunk/info/t/quoted-target.sh
    trunk/info/t/relative-path.sh
    trunk/info/t/split-index.sh
    trunk/info/t/split.sh
    trunk/info/t/tab.sh
    trunk/info/t/where-dir-file.sh

Modified: trunk/info/Makefile.am
===================================================================
--- trunk/info/Makefile.am      2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/Makefile.am      2014-05-18 14:04:06 UTC (rev 5577)
@@ -84,7 +84,7 @@
 
 check_DATA = t/Info-config
 t/Info-config: t/Infokey-config infokey
-       ./infokey --output $@ $<
+       mkdir -p t && ./infokey --output $@ $<
 
 check_PROGRAMS = pseudotty
 pseudotty_SOURCES = pseudotty.c

Modified: trunk/info/t/body-start.sh
===================================================================
--- trunk/info/t/body-start.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/body-start.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Check that node headers aren't included in searches
 $GINFO -f body-start --restore $t/body-start.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/dir-3-menus.sh
===================================================================
--- trunk/info/t/dir-3-menus.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-3-menus.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow several menus in a file to get to desired node
 $GINFO --output - file-menu 'First entry' 'Node 2' 'Node 3' \

Modified: trunk/info/t/dir-file-index.sh
===================================================================
--- trunk/info/t/dir-file-index.sh      2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file-index.sh      2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow an index entry in a file found through dir
 $GINFO --output - split 'entry text' \

Modified: trunk/info/t/dir-file-menu.sh
===================================================================
--- trunk/info/t/dir-file-menu.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file-menu.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow a menu in a file
 $GINFO --output - file-menu 'First entry' | grep 'Arrived at Node 1.'

Modified: trunk/info/t/dir-file-no-menu.sh
===================================================================
--- trunk/info/t/dir-file-no-menu.sh    2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file-no-menu.sh    2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Try to select a non-existent menu item
 $GINFO --output - file-menu 'Not an entry' 2>&1 | grep 'No menu item'

Modified: trunk/info/t/dir-file-node.sh
===================================================================
--- trunk/info/t/dir-file-node.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file-node.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a node in loaded file using --node, without using --file to
 # specify the desired file.

Modified: trunk/info/t/dir-file-sloppily.sh
===================================================================
--- trunk/info/t/dir-file-sloppily.sh   2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file-sloppily.sh   2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow an reference to "file-menu" in dir without matching label exactly
 $GINFO --output - FiLe-M | grep "^File: file-menu,"

Modified: trunk/info/t/dir-file.sh
===================================================================
--- trunk/info/t/dir-file.sh    2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-file.sh    2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow a reference to file1 in dir
 $GINFO --output - file1

Modified: trunk/info/t/dir-menus-sloppily.sh
===================================================================
--- trunk/info/t/dir-menus-sloppily.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-menus-sloppily.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow several menus in a file inexactly to get to desired node
 $GINFO --output - file-menu first nod nod 3 \

Modified: trunk/info/t/dir-no-file.sh
===================================================================
--- trunk/info/t/dir-no-file.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-no-file.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Look for a non-existent entry in dir
 

Modified: trunk/info/t/dir-nondir.sh
===================================================================
--- trunk/info/t/dir-nondir.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir-nondir.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a file despite it not being listed in dir.
 $GINFO --output - sample | grep "This is a simple Info file."

Modified: trunk/info/t/dir.sh
===================================================================
--- trunk/info/t/dir.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/dir.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load top-level dir node
 ${GINFO} --output -

Modified: trunk/info/t/file-index.sh
===================================================================
--- trunk/info/t/file-index.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file-index.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow an index entry in a file specified with --file
 $GINFO --output - --file split 'entry text' \

Modified: trunk/info/t/file-node-with-dot.sh
===================================================================
--- trunk/info/t/file-node-with-dot.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file-node-with-dot.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a node with a full stop in its name in loaded file using --node.
 

Modified: trunk/info/t/file-node.sh
===================================================================
--- trunk/info/t/file-node.sh   2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file-node.sh   2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a node in loaded file using --node. 
 

Modified: trunk/info/t/file-nodes.sh
===================================================================
--- trunk/info/t/file-nodes.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file-nodes.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load more than one node in loaded file using --node.
 
@@ -24,4 +25,4 @@
 grep 'Arrived at Node 1' $GINFO_OUTPUT || RETVAL=1
 grep 'Arrived at Node 2' $GINFO_OUTPUT || RETVAL=1
 
-. t/Cleanup.inc
+. $t/Cleanup.inc

Modified: trunk/info/t/file-relative-path.sh
===================================================================
--- trunk/info/t/file-relative-path.sh  2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file-relative-path.sh  2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a file given relative to the current directory using --file.
-$GINFO --output - --file t/infodir/sample.info | grep "^File: sample.info,"
+$GINFO --output - --file $t/infodir/sample.info | grep "^File: sample.info,"

Modified: trunk/info/t/file.sh
===================================================================
--- trunk/info/t/file.sh        2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/file.sh        2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,6 +14,7 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 $GINFO --output - --file sample.info

Modified: trunk/info/t/goto-quoted.sh
===================================================================
--- trunk/info/t/goto-quoted.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/goto-quoted.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Go to a node with colons and commas in its name with "g"
 $GINFO -f quoting --restore $t/goto-quoted.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/help.sh
===================================================================
--- trunk/info/t/help.sh        2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/help.sh        2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Test --help flag
 $GINFO --help | grep 'strict-node-location'

Modified: trunk/info/t/index-apropos.sh
===================================================================
--- trunk/info/t/index-apropos.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/index-apropos.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/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
@@ -23,5 +24,5 @@
 $GINFO --restore $t/index-apropos.drib
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/index-long-nodeline.sh
===================================================================
--- trunk/info/t/index-long-nodeline.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/index-long-nodeline.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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 
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc 
 
 # Follow an menu item from the index node to a node where physical lines
 # don't match logical lines.
@@ -27,4 +28,4 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc

Modified: trunk/info/t/index.sh
===================================================================
--- trunk/info/t/index.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/index.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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 
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc 
 
 # Follow an index entry
 
@@ -26,4 +27,4 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc

Modified: trunk/info/t/next-quoted.sh
===================================================================
--- trunk/info/t/next-quoted.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/next-quoted.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Go to a node with colons and commas in its name with "n"
 $GINFO -f quoting --restore $t/next-quoted.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/no-file.sh
===================================================================
--- trunk/info/t/no-file.sh     2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/no-file.sh     2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Look for a non-existent entry in INFOPATH.
 

Modified: trunk/info/t/quoted-label-and-target.sh
===================================================================
--- trunk/info/t/quoted-label-and-target.sh     2014-05-18 13:29:46 UTC (rev 
5576)
+++ trunk/info/t/quoted-label-and-target.sh     2014-05-18 14:04:06 UTC (rev 
5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Follow a cross-reference with both the label and destination quoted.
 $GINFO -f quoting --restore $t/quoted-label-and-target.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/quoted-label-as-target.sh
===================================================================
--- trunk/info/t/quoted-label-as-target.sh      2014-05-18 13:29:46 UTC (rev 
5576)
+++ trunk/info/t/quoted-label-as-target.sh      2014-05-18 14:04:06 UTC (rev 
5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Follow a cross-reference to a node with colons and commas in its name
 $GINFO -f quoting --restore $t/quoted-label-as-target.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/quoted-target.sh
===================================================================
--- trunk/info/t/quoted-target.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/quoted-target.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Follow a cross-reference to a node with colons and commas in its name
 $GINFO -f quoting --restore $t/quoted-target.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/relative-path.sh
===================================================================
--- trunk/info/t/relative-path.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/relative-path.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a file given relative to the current directory without using
 # --file.
-$GINFO --output - t/infodir/sample.info | grep "^File: sample.info,"
+$GINFO --output - $t/infodir/sample.info | grep "^File: sample.info,"

Modified: trunk/info/t/split-index.sh
===================================================================
--- trunk/info/t/split-index.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/split-index.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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 
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc 
 
 # Follow an index entry in a split file
 
@@ -26,4 +27,4 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc

Modified: trunk/info/t/split.sh
===================================================================
--- trunk/info/t/split.sh       2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/split.sh       2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,7 +14,8 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Load a split file
 

Modified: trunk/info/t/tab.sh
===================================================================
--- trunk/info/t/tab.sh 2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/tab.sh 2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,8 +14,9 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
+. $t/Init-intera.inc
 
 # Tab to first link and follow it
 $GINFO -f intera --restore $t/tab.drib
@@ -25,5 +26,5 @@
 diff $GINFO_OUTPUT $t/node-target
 RETVAL=$?
 
-. t/Cleanup.inc
+. $t/Cleanup.inc
 

Modified: trunk/info/t/where-dir-file.sh
===================================================================
--- trunk/info/t/where-dir-file.sh      2014-05-18 13:29:46 UTC (rev 5576)
+++ trunk/info/t/where-dir-file.sh      2014-05-18 14:04:06 UTC (rev 5577)
@@ -14,9 +14,10 @@
 # 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
+srcdir=${srcdir:-.}
+. $srcdir/t/Init-test.inc
 
 # Follow a reference to file1 in dir and print location
 $GINFO --where file1 \
-  | grep '^./t/infodir/file1.info$'
+  | grep 't/infodir/file1.info$'
 




reply via email to

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