curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: [RELEASE] curl 7.62.0

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 31 Oct 2018 11:07:52 +0100 (CET)

On Wed, 31 Oct 2018, Alessandro Ghedini via curl-library wrote:

> So, if I try to run the test suite without having a system-wide (e.g. under
> /usr/bin) curl installed I get a whole bunch of failures like "sh: 1: curl:
> not found".
>
> Did something change in the test suite that I missed?

Ugh! I believe this is due to a bad change I did in commit 8440616f53. Try
this to fix it:

diff --git a/tests/runtests.pl b/tests/runtests.pl
index 5dce33042..6a644ed0d 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -149,11 +149,11 @@ my $SMBPORT; # SMB server port
  my $SMBSPORT; # SMBS server port
  my $NEGTELNETPORT; # TELNET server port with negotiation

  my $srcdir = $ENV{'srcdir'} || '.';
  my $CURL="../src/curl".exe_ext(); # what curl executable to run on the tests
-my $VCURL="curl"; # what curl binary to use to verify the servers with
+my $VCURL=$CURL; # what curl binary to use to verify the servers with
                     # VCURL is handy to set to the system one when the one you
                     # just built hangs or crashes and thus prevent verification
  my $DBGCURL=$CURL; #"../src/.libs/curl"; # alternative for debugging
  my $LOGDIR="log";
  my $TESTDIR="$srcdir/data";

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-31