git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
129c15c
)
selftest: Print reason when a test fails unexpectedly
author
Kai Blin
<kai@samba.org>
Wed, 13 Jan 2010 09:07:25 +0000
(10:07 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 13 Jan 2010 13:51:58 +0000
(14:51 +0100)
selftest/output/plain.pm
patch
|
blob
|
history
diff --git
a/selftest/output/plain.pm
b/selftest/output/plain.pm
index 066cacfb2941414cf4cd45f6af5e5fcd92400633..eae1e7aaac27f9b9057d24e45a09cab871ef1919 100644
(file)
--- 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;