unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* sleep 999 after tests
@ 2007-05-25 14:59 Marijn Schouten
  2007-08-16 23:11 ` Kevin Ryde
  0 siblings, 1 reply; 6+ messages in thread
From: Marijn Schouten @ 2007-05-25 14:59 UTC (permalink / raw)
  To: bug-guile

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

the two sleep 999's in test-suite/tests/popen.test are really annoying. Is
there any good reason for them to be there? The following patch alleviates the
issue:

- --- test-suite/tests/popen.test 2007-05-25 16:44:34.000000000 +0200
+++ newpopen    2007-05-25 16:56:09.000000000 +0200
@@ -82,7 +82,7 @@
           (port (with-error-to-port (cdr pair)
                   (lambda ()
                     (open-input-pipe
- -                     "exec 1>/dev/null; echo closed 1>&2; exec 2>/dev/null;
sleep 999")))))
+                     "exec 1>/dev/null; echo closed 1>&2; exec 2>/dev/null;
sleep 1")))))
       (close-port (cdr pair))   ;; write side
       (and (char? (read-char (car pair))) ;; wait for child to do its thing
           (char-ready? port)
@@ -132,7 +132,7 @@
              (port (with-error-to-port (cdr pair)
                      (lambda ()
                        (open-output-pipe
- -                        "exec 0</dev/null; echo closed 1>&2; exec
2>/dev/null; sleep 999")))))
+                        "exec 0</dev/null; echo closed 1>&2; exec
2>/dev/null; sleep 1")))))
         (close-port (cdr pair))   ;; write side
         (and (char? (read-char (car pair))) ;; wait for child to do its thing
              (catch 'system-error

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVvnqp/VmCx0OL2wRAsMQAKCDRdQ6f/42vQdPB0Wyf7O0YGxF5QCcC7Ha
lSeyDsPfy5hgYEj+3UlJ8UI=
=9tdD
-----END PGP SIGNATURE-----


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-19  0:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 14:59 sleep 999 after tests Marijn Schouten
2007-08-16 23:11 ` Kevin Ryde
2007-08-17  8:12   ` Marijn Schouten (hkBst)
2007-08-17 13:19     ` Ludovic Courtès
2007-08-17 13:25       ` Marijn Schouten (hkBst)
2007-08-19  0:50     ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).