summaryrefslogtreecommitdiff
path: root/source4/selftest/output/html.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-01 00:36:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:21 -0500
commitc3077a9e4bd3fd61055a1824946f6f2fb4aec583 (patch)
tree0d03996de0570b7ecd9d289a7f3b6cdf3600548e /source4/selftest/output/html.pm
parent48029b35201e099aa7bbbe4390b59cfb7a2c6f69 (diff)
downloadsamba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.tar.gz
samba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.tar.bz2
samba-c3077a9e4bd3fd61055a1824946f6f2fb4aec583.zip
r24860: Make it easier to run selftest.pl in a Samba3 source tree.
(This used to be commit 53ec879e3168e9f56e774f0b0d70aeebb3795f8e)
Diffstat (limited to 'source4/selftest/output/html.pm')
-rw-r--r--source4/selftest/output/html.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/output/html.pm b/source4/selftest/output/html.pm
index 79775961c0..c4f94fb6b0 100644
--- a/source4/selftest/output/html.pm
+++ b/source4/selftest/output/html.pm
@@ -7,6 +7,8 @@ use Exporter;
use strict;
use warnings;
+use FindBin qw($RealBin);
+
sub new($$$$) {
my ($class, $dirname, $statistics) = @_;
my $self = {
@@ -25,7 +27,7 @@ sub new($$$$) {
}
};
- link("selftest/output/testresults.css", "$dirname/testresults.css");
+ link("$RealBin/output/testresults.css", "$dirname/testresults.css");
open(INDEX, ">$dirname/index.html");