[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Wed Jan 13 07:53:46 MST 2010


The branch, master has been updated
       via  7147c84... selftest: Print reason when a test fails unexpectedly
      from  129c15c... s4-ntp_signd: Migrate to tsocket.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7147c8453e7174e5b6bf20172b48b065fb9b8e99
Author: Kai Blin <kai at samba.org>
Date:   Wed Jan 13 10:07:25 2010 +0100

    selftest: Print reason when a test fails unexpectedly

-----------------------------------------------------------------------

Summary of changes:
 selftest/output/plain.pm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/output/plain.pm b/selftest/output/plain.pm
index 066cacf..eae1e7a 100644
--- a/selftest/output/plain.pm
+++ b/selftest/output/plain.pm
@@ -162,7 +162,9 @@ sub end_test($$$$$)
 		return;
 	}
 
-	$append = "UNEXPECTED($result): $testname\n";
+	chomp $reason;
+
+	$append = "UNEXPECTED($result): $testname\nREASON: $reason\n";
 
 	$self->{test_output}->{$self->{NAME}} .= $append;
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list