unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Marijn Schouten <M.Schouten@phys.uu.nl>
To: bug-guile@gnu.org
Subject: sleep 999 after tests
Date: Fri, 25 May 2007 16:59:54 +0200	[thread overview]
Message-ID: <4656F9EA.4090300@phys.uu.nl> (raw)

-----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


             reply	other threads:[~2007-05-25 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 14:59 Marijn Schouten [this message]
2007-08-16 23:11 ` sleep 999 after tests 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4656F9EA.4090300@phys.uu.nl \
    --to=m.schouten@phys.uu.nl \
    --cc=bug-guile@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).