From d639ed1aafe33905b800dbf0c858630352576a01 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 20 Dec 2007 21:21:43 +0000 Subject: Use getcwd() to get the directory, which works even if one of the directory components doesn't have read permission set. --- tests/testcurl.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testcurl.pl') diff --git a/tests/testcurl.pl b/tests/testcurl.pl index b7828d32a..e726478e1 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -294,7 +294,7 @@ $str1066os = undef; # Make $pwd to become the path without newline. We'll use that in order to cut # off that path from all possible logs and error messages etc. -$pwd = cwd(); +$pwd = getcwd(); if (-d $CURLDIR) { if ($CVS && -d "$CURLDIR/CVS") { -- cgit v1.2.3