curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Test 1143 failing in MSYS bash except with -g

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Jul 2018 00:21:22 +0200 (CEST)

On Thu, 19 Jul 2018, Marcel Raad wrote:

> The strange thing is: when running "./runtests.pl -a -p -v -g" in the tests
> directory, with -g for gdb, the argument is passed correctly. Can anyone
> imagine where this discrepancy might come from?

I'd say because of this runtests.pl line:

   https://github.com/curl/curl/blob/db2ac90eaf45f995608cf97bb1b2f811a143477e/tests/runtests.pl#L4070

The arguments to curl are set in a gdb script and not read using the regular
shell command line parser. gdb executes that script when it starts.

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