summaryrefslogtreecommitdiff
path: root/tests/symlink.t
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
commit0663d67c1abad2289892d60609c22aacf6b0b984 (patch)
tree86753c9c419db2ea994ccbd8b6b16d2f44cad9d8 /tests/symlink.t
parent1431deba815f72d7978df851f2d35e1956f399fd (diff)
downloadlighttpd1.4-0663d67c1abad2289892d60609c22aacf6b0b984.tar.gz
lighttpd1.4-0663d67c1abad2289892d60609c22aacf6b0b984.zip
Fix symlink.t check to run with builddir != srcdir
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2115 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/symlink.t')
-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;
};