texinfo-commits
[Top][All Lists]
Advanced

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

[6967] check process has started in replace-viewed.sh


From: Gavin D. Smith
Subject: [6967] check process has started in replace-viewed.sh
Date: Sat, 30 Jan 2016 19:41:45 +0000

Revision: 6967
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6967
Author:   gavin
Date:     2016-01-30 19:41:45 +0000 (Sat, 30 Jan 2016)
Log Message:
-----------
check process has started in replace-viewed.sh

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/t/replace-viewed.sh

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-01-30 19:19:52 UTC (rev 6966)
+++ trunk/ChangeLog     2016-01-30 19:41:45 UTC (rev 6967)
@@ -1,5 +1,10 @@
 2016-01-30  Gavin Smith  <address@hidden>
 
+       * info/t/replace-viewed.sh: Skip test if no process could be 
+       found, because it may not have started properly.
+
+2016-01-30  Gavin Smith  <address@hidden>
+
        * info/t/Init-inter.inc: Remove line accidentally added on 2016-01-13.
 
 2016-01-30  Gavin Smith  <address@hidden>

Modified: trunk/info/t/replace-viewed.sh
===================================================================
--- trunk/info/t/replace-viewed.sh      2016-01-30 19:19:52 UTC (rev 6966)
+++ trunk/info/t/replace-viewed.sh      2016-01-30 19:41:45 UTC (rev 6967)
@@ -26,7 +26,12 @@
 
 run_ginfo -f t/replace-viewed.info
 
-# Make sure ginfo is up and running
+# Make sure ginfo is up and running.  Skip test if no process could be found,
+# because it may not have started properly.
+if test $GINFO_PID = unknown ; then
+  RETVAL=77 # skip test
+  cleanup
+fi
 printf 'D' >$PTY_TYPE
 while test ! -f $GINFO_OUTPUT ; do sleep 1 ; done
 cat $GINFO_OUTPUT




reply via email to

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