diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-15 18:55:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-05 16:50:16 +0100 |
commit | 2a11ee1019530a917fff43182a1ef19a0d701018 (patch) | |
tree | c677dafc5f8c20a88c08b8a90f348c0311e8a026 /scripts/tap-driver.pl | |
parent | bae6b59d46f9cb5e8a4f4cc07c5b2528b198b06b (diff) | |
download | qemu-2a11ee1019530a917fff43182a1ef19a0d701018.zip qemu-2a11ee1019530a917fff43182a1ef19a0d701018.tar.gz qemu-2a11ee1019530a917fff43182a1ef19a0d701018.tar.bz2 |
tap: flush STDOUT on newline
This makes it easier to follow what is going on.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/tap-driver.pl')
-rwxr-xr-x | scripts/tap-driver.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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 = TAP::Parser::Iterator::Stream->new(\*STDIN); my $parser = TAP::Parser->new ({iterator => $iterator }); + STDOUT->autoflush(1); while (defined (my $cur = $parser->next)) { # Parsing of TAP input should stop after a "Bail out!" directive. |