aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-06 12:10:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-06 12:10:00 +0000
commit72e67d3b9d3c2a3d057e2c9aaa4ecb0943edbd5e (patch)
treeffe8adcaf27fc3dabec208e28cc9ec4b34066241 /tests/runtests.pl
parent711a3a79e3a509754709fc5e325866d3aa81af9a (diff)
adjusted to the correct treatmeant of file:// URLs
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index ac87beb09..d2132c325 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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) {