summaryrefslogtreecommitdiffstats
path: root/selftest/output/plain.pm
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/output/plain.pm')
-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 066cacfb294..eae1e7aaac2 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;