mirror of
https://github.com/curl/curl.git
synced 2026-07-31 04:38:02 +03:00
Improve chance of running runtests.pl from outside the
source tree 'tests' directory
This commit is contained in:
parent
6efb6addf2
commit
8f1829d1d2
5 changed files with 12 additions and 12 deletions
|
|
@ -163,7 +163,7 @@ sub sysread_or_die {
|
|||
}
|
||||
|
||||
sub startsf {
|
||||
my $cmd="./server/sockfilt --port $port --logfile log/sockctrl$ftpdnum$ext.log --pidfile .sockfilt$ftpdnum$ext.pid $ipv6";
|
||||
my $cmd="$srcdir/server/sockfilt --port $port --logfile log/sockctrl$ftpdnum$ext.log --pidfile .sockfilt$ftpdnum$ext.pid $ipv6";
|
||||
$sfpid = open2(*SFREAD, *SFWRITE, $cmd);
|
||||
|
||||
print STDERR "$cmd\n" if($verbose);
|
||||
|
|
@ -548,7 +548,7 @@ sub PASV_command {
|
|||
|
||||
# We fire up a new sockfilt to do the data transfer for us.
|
||||
$slavepid = open2(\*DREAD, \*DWRITE,
|
||||
"./server/sockfilt --port 0 --logfile log/sockdata$ftpdnum$ext.log --pidfile $pidf $ipv6");
|
||||
"$srcdir/server/sockfilt --port 0 --logfile log/sockdata$ftpdnum$ext.log --pidfile $pidf $ipv6");
|
||||
|
||||
print DWRITE "PING\n";
|
||||
my $pong;
|
||||
|
|
@ -680,7 +680,7 @@ sub PORT_command {
|
|||
|
||||
# We fire up a new sockfilt to do the data transfer for us.
|
||||
# FIX: make it use IPv6 if need be
|
||||
my $filtcmd="./server/sockfilt --connect $port --addr $addr --logfile log/sockdata$ftpdnum$ext.log --pidfile .sockdata$ftpdnum$ext.pid $ipv6";
|
||||
my $filtcmd="$srcdir/server/sockfilt --connect $port --addr $addr --logfile log/sockdata$ftpdnum$ext.log --pidfile .sockdata$ftpdnum$ext.pid $ipv6";
|
||||
$slavepid = open2(\*DREAD, \*DWRITE, $filtcmd);
|
||||
|
||||
print STDERR "$filtcmd\n" if($verbose);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue