summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-23 16:17:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 16:17:23 +0200
commit33231f44da6c4eeb5dbf5e7d6d04237d32a63457 (patch)
treeca5b9d8b0dda3fd6d98e5844f7b76f11e2e68416 /source4/selftest
parent7fb26774021986a08d03db968a7826ee64ea7410 (diff)
downloadsamba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.tar.gz
samba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.tar.bz2
samba-33231f44da6c4eeb5dbf5e7d6d04237d32a63457.zip
Report full 'path' of unexpected test results for easier inclusion in knownfailure file.
(This used to be commit 33cc9b0f5fae7510d490928195016cf7fe3bbe42)
Diffstat (limited to 'source4/selftest')
-rw-r--r--source4/selftest/output/plain.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/output/plain.pm b/source4/selftest/output/plain.pm
index f14e26b38d..4bec4e0fdc 100644
--- a/source4/selftest/output/plain.pm
+++ b/source4/selftest/output/plain.pm
@@ -123,7 +123,9 @@ sub end_test($$$$$)
return;
}
- $append = "UNEXPECTED($result): $testname\n";
+ my $fullname = join(".", @$parents).".$testname";
+
+ $append = "UNEXPECTED($result): $testname ($fullname)\n";
$self->{test_output}->{$self->{NAME}} .= $append;