summaryrefslogtreecommitdiff
path: root/selftest/output
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/output')
-rw-r--r--selftest/output/plain.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/selftest/output/plain.pm b/selftest/output/plain.pm
index 066cacfb29..eae1e7aaac 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;