summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-03-02 12:59:54 +0000
committerStefan Bühler <stbuehler@web.de>2008-03-02 12:59:54 +0000
commite18a9ccf211ecd8f9eff943797e7e4b544f3301d (patch)
tree86753c9c419db2ea994ccbd8b6b16d2f44cad9d8
parentc34344c7b53ae8a6e3e149cd5a635bdbd8996fba (diff)
downloadlighttpd-git-e18a9ccf211ecd8f9eff943797e7e4b544f3301d.tar.gz
Fix symlink.t check to run with builddir != srcdir
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2115 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--tests/symlink.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/symlink.t b/tests/symlink.t
index 4274fdfe..9b275bd7 100644
--- a/tests/symlink.t
+++ b/tests/symlink.t
@@ -13,7 +13,7 @@ use LightyTest;
my $tf = LightyTest->new();
my $t;
-my $docroot = "$tf->{'SRCDIR'}/tmp/lighttpd/servers/www.example.org/pages/";
+my $docroot = $tf->{'TESTDIR'}."/tmp/lighttpd/servers/www.example.org/pages";
sub init_testbed {
return 0 unless eval { symlink("",""); 1 };
@@ -28,7 +28,7 @@ sub init_testbed {
$rc = undef;
unless (-l $l) {
return 0 unless symlink($f,$l);
- };
+ }
return 1;
};