From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marijn Schouten Newsgroups: gmane.lisp.guile.bugs Subject: sleep 999 after tests Date: Fri, 25 May 2007 16:59:54 +0200 Message-ID: <4656F9EA.4090300@phys.uu.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180454341 30876 80.91.229.12 (29 May 2007 15:59:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 May 2007 15:59:01 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue May 29 17:58:59 2007 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ht467-0004A6-6C for guile-bugs@m.gmane.org; Tue, 29 May 2007 17:58:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ht466-0005b6-Hd for guile-bugs@m.gmane.org; Tue, 29 May 2007 11:58:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HrbEu-0000F7-Hg for bug-guile@gnu.org; Fri, 25 May 2007 10:58:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HrbEt-0000Ev-20 for bug-guile@gnu.org; Fri, 25 May 2007 10:57:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HrbEs-0000Es-SK for bug-guile@gnu.org; Fri, 25 May 2007 10:57:58 -0400 Original-Received: from castor.sshunet.nl ([145.97.192.41] helo=castor.warande.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HrbEs-00025F-DM for bug-guile@gnu.org; Fri, 25 May 2007 10:57:58 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.warande.net (Postfix) with ESMTP id B6C4657C010 for ; Fri, 25 May 2007 16:57:53 +0200 (CEST) Original-Received: from castor.warande.net ([127.0.0.1]) by localhost (castor [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14486-01 for ; Fri, 25 May 2007 16:57:53 +0200 (CEST) Original-Received: from [145.97.223.47] (47pc223.sshunet.nl [145.97.223.47]) by castor.warande.net (Postfix) with ESMTP for ; Fri, 25 May 2007 16:57:53 +0200 (CEST) User-Agent: Thunderbird 2.0.0.0 (X11/20070419) X-Enigmail-Version: 0.95.0 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at sshunet.nl X-detected-kernel: Linux 2.4-2.6 X-Mailman-Approved-At: Tue, 29 May 2007 11:58:55 -0400 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:3530 Archived-At: -----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&2; exec 2>/dev/null; sleep 999"))))) + "exec 0&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