summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/helper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper.pm b/t/helper.pm
index 10449300..e76d1396 100644
--- a/t/helper.pm
+++ b/t/helper.pm
@@ -29,7 +29,7 @@ sub httpd_port { 6969 }
sub start_httpd() {
$server_pid = fork();
if ($server_pid == 0) {
- exec './simple-httpd', $pwd, "$pwd/tmp", httpd_port();
+ exec './simple-httpd', $::pwd, "$::pwd/tmp", httpd_port();
exit 1;
}
'http://localhost:' . httpd_port();