Changeset 2115

Show
Ignore:
Timestamp:
03/02/2008 12:59:54 PM (6 months ago)
Author:
stbuehler
Message:

Fix symlink.t check to run with builddir != srcdir

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/tests/symlink.t

    r2027 r2115  
    1414my $tf = LightyTest->new(); 
    1515my $t; 
    16 my $docroot = "$tf->{'SRCDIR'}/tmp/lighttpd/servers/www.example.org/pages/"; 
     16my $docroot = $tf->{'TESTDIR'}."/tmp/lighttpd/servers/www.example.org/pages"; 
    1717 
    1818sub init_testbed { 
     
    2929    unless (-l $l) { 
    3030        return 0 unless symlink($f,$l); 
    31     }; 
     31    } 
    3232    return 1; 
    3333};