Commit 302507d5 authored by Ben Greear's avatar Ben Greear Committed by Daniel Stenberg
Browse files

Allow running ./tests/testcurl.pl from within git repo.



My first instinct was to run the test script within the checked out
repository.  This small change to the script allows that to work as
expected.

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
parent 7784e330
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -78,6 +78,10 @@ $fixed=0;
# Determine if we're running from git or a canned copy of curl,
# or if we got a specific target option or setup file option.
$CURLDIR="curl";
if (-f ".git/config") {
  $CURLDIR = "./";
}

$git=1;
$setupfile = 'setup';
while ($ARGV[0]) {