1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

adjusted to the correct treatmeant of file:// URLs

This commit is contained in:
Daniel Stenberg 2001-08-06 12:10:00 +00:00
parent 711a3a79e3
commit 72e67d3b9d
2 changed files with 7 additions and 2 deletions

View File

@ -12,10 +12,10 @@ moo
# Client-side
<client>
<name>
file:// with relative path
basic file:// file
</name>
<command>
file://log/test200.txt
file://localhost/%PWD/log/test200.txt
</command>
<file name="log/test200.txt">
foo

View File

@ -68,6 +68,9 @@ my $debugprotocol;
my $anyway;
my $gdbthis; # run test case with gdb debugger
my $keepoutfiles; # keep stdout and stderr files after tests
my $pwd; # current working directory
chomp($pwd = `pwd`);
#######################################################################
# Return the pid of the server as found in the given pid file
@ -443,6 +446,8 @@ sub singletest {
$cmd =~ s/%FTPPORT/$FTPPORT/g;
$cmd =~ s/%FTPSPORT/$FTPSPORT/g;
$cmd =~ s/%SRCDIR/$srcdir/g;
$cmd =~ s/%PWD/$pwd/g;
#$cmd =~ s/%HOSTNAME/$HOSTNAME/g;
if($memory_debug) {