[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6042] fix for info tests
From: |
Gavin D. Smith |
Subject: |
[6042] fix for info tests |
Date: |
Wed, 14 Jan 2015 20:54:33 +0000 |
Revision: 6042
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6042
Author: gavin
Date: 2015-01-14 20:54:32 +0000 (Wed, 14 Jan 2015)
Log Message:
-----------
fix for info tests
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/t/Init-inter.inc
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-01-14 19:43:58 UTC (rev 6041)
+++ trunk/ChangeLog 2015-01-14 20:54:32 UTC (rev 6042)
@@ -1,3 +1,9 @@
+2015-01-14 Gavin Smith <address@hidden>
+
+ * info/t/Init-inter.inc (run_ginfo): When setting GINFO_PID,
+ include more commands in subshell. This means the tests at
+ least pass when run in-source.
+
2015-01-14 Karl Berry <address@hidden>
* info/t/Cleanup.inc,
Modified: trunk/info/t/Init-inter.inc
===================================================================
--- trunk/info/t/Init-inter.inc 2015-01-14 19:43:58 UTC (rev 6041)
+++ trunk/info/t/Init-inter.inc 2015-01-14 20:54:32 UTC (rev 6042)
@@ -57,9 +57,8 @@
# Try 3 times and then give up. The process may never have started, have
# started under a different name, or have already exited.
for i in 1 2 3; do
- GINFO_PID=`pgrep -P $SUBSHELL $GINFO_NAME`
- test $? -eq 0 || test $? -eq 1 || exit 99
- test -n "$GINFO_PID" || exit 99
+ GINFO_PID=`pgrep -P $SUBSHELL $GINFO_NAME ; \
+ test $? -eq 0 || test $? -eq 1 || exit 99`
# This use of pgrep is likely not portable (works on procps). Check if it
# is likely to have worked.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6042] fix for info tests,
Gavin D. Smith <=