From 0663d67c1abad2289892d60609c22aacf6b0b984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sun, 2 Mar 2008 12:59:54 +0000 Subject: [PATCH] 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 --- tests/symlink.t | 4 ++-- 1 file 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; };