From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#24769: bug#24819: Intermittent 00-repl-server.test failure in 2.0.13 Date: Fri, 04 Nov 2016 22:50:11 +0100 Message-ID: <87k2ci7w4s.fsf@gnu.org> References: <87a8dn2guc.fsf@trouble.defaultvalue.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1478296286 25260 195.159.176.226 (4 Nov 2016 21:51:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2016 21:51:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24819-done@debbugs.gnu.org, 24769-done@debbugs.gnu.org To: Rob Browning Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Nov 04 22:51:22 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2mOH-0004zG-Om for guile-bugs@m.gmane.org; Fri, 04 Nov 2016 22:51:13 +0100 Original-Received: from localhost ([::1]:41087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2mOK-00022q-LA for guile-bugs@m.gmane.org; Fri, 04 Nov 2016 17:51:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2mOB-00020C-7I for bug-guile@gnu.org; Fri, 04 Nov 2016 17:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2mO6-00044g-8I for bug-guile@gnu.org; Fri, 04 Nov 2016 17:51:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2mO6-00044A-1r for bug-guile@gnu.org; Fri, 04 Nov 2016 17:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c2mO5-00086E-QT for bug-guile@gnu.org; Fri, 04 Nov 2016 17:51:01 -0400 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Fri, 04 Nov 2016 21:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24769 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 24769@debbugs.gnu.org, ludo@gnu.org, hoffman.ian.m@gmail.com Original-Received: via spool by 24769-done@debbugs.gnu.org id=D24769.147829622631072 (code D ref 24769); Fri, 04 Nov 2016 21:51:01 +0000 Original-Received: (at 24769-done) by debbugs.gnu.org; 4 Nov 2016 21:50:26 +0000 Original-Received: from localhost ([127.0.0.1]:45154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2mNW-000854-8A for submit@debbugs.gnu.org; Fri, 04 Nov 2016 17:50:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2mNV-00084s-6l for 24769-done@debbugs.gnu.org; Fri, 04 Nov 2016 17:50:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2mNL-00034Z-2e for 24769-done@debbugs.gnu.org; Fri, 04 Nov 2016 17:50:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2mNK-00034P-V9; Fri, 04 Nov 2016 17:50:14 -0400 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]:48404 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1c2mNK-0003b8-6h; Fri, 04 Nov 2016 17:50:14 -0400 In-Reply-To: <87a8dn2guc.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 29 Oct 2016 12:41:15 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8444 Archived-At: Hello! Rob Browning skribis: > I noticed that 00-repl-server.test had failed on some of the debian > buildds like this: > > Running 00-initial-env.test > Running 00-repl-server.test > FAIL: 00-repl-server.test: repl-server: simple expression - arguments: = (expected-value "scheme@(repl-server)> $1 =3D 42\n" actual-value "$1 =3D 42= \n") The reason is that =E2=80=98repl-reader=E2=80=99 in boot-9.scm goes like th= is: (lambda* (prompt #:optional (reader (fluid-ref current-reader))) (if (not (char-ready?)) (begin (display (if (string? prompt) prompt (prompt))) (set-port-column! (current-output-port) 0))) (force-output) (run-hook before-read-hook) ((or reader read) (current-input-port))) Thus, if there=E2=80=99s already data available on the current input port, = it does not print the prompt. That situation can arise in 00-repl-server.test if we write =E2=80=9C(+ 40 = 2)=E2=80=9D too quickly. Fixed in 2fbde7f02adb8c6585e9baf6e293ee49cd23d4c4. Thanks! Ludo=E2=80=99.