From nobody Fri Oct 10 20:39:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1547575061593810.1413208612327; Tue, 15 Jan 2019 09:57:41 -0800 (PST) Received: from localhost ([127.0.0.1]:35015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjSy4-0002fZ-L8 for importer@patchew.org; Tue, 15 Jan 2019 12:57:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjSxA-0002Gm-T5 for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjSx9-0008Rv-Sd for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:44 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:55113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjSx9-0008Iy-FZ for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:43 -0500 Received: by mail-wm1-x343.google.com with SMTP id a62so4237936wmh.4 for ; Tue, 15 Jan 2019 09:56:19 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id o4sm70574084wrq.66.2019.01.15.09.56.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 09:56:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=KG8JGH6ExZx1q2kSHwj3TeXDPLKazW4Rp6eTJ8IEuiE=; b=rUod3/jb6q7ZnJItRbrfY5eDuL1zufiVcycRlSA58TOTx0zow/KZ/hiG3mDdR6APuj t6EN6VI6fkCS/ozFTeYJyzlHIPScLM9wdyMlIPLRc9p+9o26RWsfDmtPVDvNLoLYgAcS 9s63auwVYl9nGwHs7O2X1Hx4g1guZ37w0GAmzwZldxmzv5MVgWa/7cMeY/sygNytp03L nansmQEZ6TyOO3ukXg0CuJ2cqOMpk7WxdN6WdRzIkSYEOya3tJH4R3CrW/vakioF1khP P8XYoHy1YO1bfJJ+M1tclFcJCIq7wAgBNrlrVE61owGmwWRX4galDmpMW5/2dya2L9vI eBXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=KG8JGH6ExZx1q2kSHwj3TeXDPLKazW4Rp6eTJ8IEuiE=; b=ediUNkwCzqTR5Y+9GIvej6CRjsPCA6+hG0JNPv0KT0Dgw1iVCSd+WaJiaUJl1HCv9j mW1bITII5S/4b8WYXf9ObZ1YufVyQZhIIj2UdS/5+HaVKpK1zB/QcuXOxvo8jHoXK3qE azkLE2a4nQXqk4vgKeVhgFxxBWdegQlx6mXpxZgOt9LZIFSjwYYNcvZDhy5MOysheUhd JIDWW0qpApEc5nIn0EDWg38tDU/3I+Sg3iApwyFSrnWHgvHrZdaXcwqoCJM6dL5osNWV zgkdG6/3uPphpxCck89k9oW+O828UXq1tA8afldoM9HUlfji1zkQq0eKFA1DN99WInyE 9TWA== X-Gm-Message-State: AJcUukft14zvxn39kZz+C1nHYocbjb7AZmKwEWDnrGrHKX3ZLVX5H+LA schNqpY7V0y9wN1ac9nytDX9uuTM X-Google-Smtp-Source: ALg8bN6jwWeisJ5mm+akf3thJUaglt8TYKznn6FzDBuwXNmYEQBsQK+ZmLSwO4zixbzmsf9r7TXCpA== X-Received: by 2002:a1c:8484:: with SMTP id g126mr4477821wmd.117.1547574978334; Tue, 15 Jan 2019 09:56:18 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 15 Jan 2019 18:56:16 +0100 Message-Id: <1547574976-6372-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::343 Subject: [Qemu-devel] [PATCH] tap: flush STDOUT on newline X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This makes it easier to follow what is going on. Signed-off-by: Paolo Bonzini Reviewed-by: Eric Blake Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- scripts/tap-driver.pl | 1 + scripts/tap-merge.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/tap-driver.pl b/scripts/tap-driver.pl index 5e59b5d..6621a5c 100755 --- a/scripts/tap-driver.pl +++ b/scripts/tap-driver.pl @@ -313,6 +313,7 @@ sub main () my $iterator =3D TAP::Parser::Iterator::Stream->new(\*STDIN); my $parser =3D TAP::Parser->new ({iterator =3D> $iterator }); =20 + STDOUT->autoflush(1); while (defined (my $cur =3D $parser->next)) { # Parsing of TAP input should stop after a "Bail out!" directive. diff --git a/scripts/tap-merge.pl b/scripts/tap-merge.pl index 59e3fa5..10ccf57 100755 --- a/scripts/tap-merge.pl +++ b/scripts/tap-merge.pl @@ -53,6 +53,7 @@ sub main () my $testno =3D 0; # Number of test results seen so far. my $bailed_out =3D 0; # Whether a "Bail out!" directive has been seen. =20 + STDOUT->autoflush(1); while (defined (my $cur =3D $parser->next)) { if ($cur->is_bailout) --=20 1.8.3.1