> 
> I'm working on adding a verbose mode to badsymbols [1][2], can you patch
> and try it out:
> 
> cd tests
> perl -I. ./badsymbols.pl -v ./..
> 
> 
> [1]: https://github.com/curl/curl/pull/6349
> [2]: https://patch-diff.githubusercontent.com/raw/curl/curl/pull/6349.diff
> 

Will do but I don't see anything different :

alpha $ curl -4 -L --url
'https://patch-diff.githubusercontent.com/raw/curl/curl/pull/6349.diff'
-o curl_6349.patch
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
100  1648    0  1648    0     0   2980      0 --:--:-- --:--:-- --:--:--
 2974
alpha $ wc -l curl_6349.patch
      61 curl_6349.patch
alpha $
alpha $ mv  curl_6349.patch
../curl-7.74.0_sunos5.10_sparcv9.003_curl_6349.patch
alpha $
alpha $
alpha $ patch --backup --verbose -p1 -i
../curl-7.74.0_sunos5.10_sparcv9.003_curl_6349.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl
|index 8ce536d0477..bad037975d9 100755
|--- a/tests/badsymbols.pl
|+++ b/tests/badsymbols.pl
--------------------------
patching file tests/badsymbols.pl
Using Plan A...
Hunk #1 succeeded at 45.
Hunk #2 succeeded at 61.
Hunk #3 succeeded at 74.
Hunk #4 succeeded at 98.
Hunk #5 succeeded at 115.
done
alpha $

alpha $ cd tests
alpha $
alpha $
alpha $ pwd
/opt/bw/build/curl-7.74.0_sunos5.10_sparcv9.003/tests
alpha $ ./runtests.pl -p 1167
********* System characteristics ********
* curl 7.74.0 (sparc64-sun-solaris2.10)
* libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 libidn2/2.3.0 libssh2/1.9.0
* Features: alt-svc AsynchDNS HTTPS-proxy IDN IPv6 Largefile libz NTLM
NTLM_WB SSL TLS-SRP UnixSockets
* Disabled:
* Host: alpha
* System: SunOS alpha 5.10 Generic_150400-65 sun4u sparc
SUNW,SPARC-Enterprise
* OS: solaris
* Servers: HTTP-IPv6 HTTP-unix FTP-IPv6
* Env:
* Seed: 211840
*****************************************
test 1167...[Verify curl prefix of public symbols in header files]

perl -I.  returned 1, when expecting 0
 exit FAILED
== Contents of files in the log/ dir after test 1167
=== Start of file commands.log
 perl -I. ./badsymbols.pl ./.. >log/stdout1167 2>log/stderr1167
=== End of file commands.log
=== Start of file ftpserver.cmd
 Testnum 1167
=== End of file ftpserver.cmd
=== Start of file stdout1167
 Bad symbols in public header files:
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
   #
=== End of file stdout1167

 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%

TESTFAIL: These test cases failed: 1167

TESTDONE: 1 tests were considered during 0 seconds.
alpha $

Looks the same.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to