summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/Subunit.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/selftest/Subunit.pm b/source4/selftest/Subunit.pm
index f8a7794aac..1c279437c8 100644
--- a/source4/selftest/Subunit.pm
+++ b/source4/selftest/Subunit.pm
@@ -17,6 +17,7 @@ sub parse_results($$$$$)
while(1) {
my $line = "";
+ my $subline = "";
my $char = "";
my $eof = 0;
my $error = 0;
@@ -33,9 +34,10 @@ sub parse_results($$$$$)
}
$line .= $char;
+ $subline .= $char;
if ($char eq "\r") {
- $msg_ops->output_msg($line);
- $line = "";
+ $msg_ops->output_msg($subline);
+ $subline = "";
}
}