[SCM] Samba Shared Repository - branch v4-0-test updated -
release-4-0-0alpha2-1311-g903eb9a
Stefan Metzmacher
metze at samba.org
Tue Mar 18 12:18:37 GMT 2008
The branch, v4-0-test has been updated
via 903eb9a23d80576f5df2d90a0e025f2366ffe4c6 (commit)
from 73ac7c4a1ce937bddd3c52d048665cd0078c6aaa (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test
- Log -----------------------------------------------------------------
commit 903eb9a23d80576f5df2d90a0e025f2366ffe4c6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 18 09:36:29 2008 +0100
selftest: use a separate var for printing out sub parts of lines with \r
This restores the bahavior of the $_ variable in the code
that detects expected failures.
metze
-----------------------------------------------------------------------
Summary of changes:
source/selftest/Subunit.pm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/selftest/Subunit.pm b/source/selftest/Subunit.pm
index f8a7794..1c27943 100644
--- a/source/selftest/Subunit.pm
+++ b/source/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 = "";
}
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list