bug-guile
[Top][All Lists]
Advanced

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

sleep 999 after tests


From: Marijn Schouten
Subject: sleep 999 after tests
Date: Fri, 25 May 2007 16:59:54 +0200
User-agent: Thunderbird 2.0.0.0 (X11/20070419)

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




reply via email to

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