summaryrefslogtreecommitdiff
path: root/tests/data/test558
Commit message (Collapse)AuthorAgeFilesLines
* curl: use curlx_dynbuf for realloc when loading config filesDaniel Stenberg2020-09-141-2/+2
| | | | | | | | | ... fixes an integer overflow at the same time. Reported-by: ihsinme on github Assisted-by: Jay Satiro Closes #5946
* TrackMemory tests: ignore realloc and free in getenv.cMarcel Raad2020-08-031-0/+2
| | | | | | These are only called for WIN32. Closes https://github.com/curl/curl/pull/5767
* dynbuf: introduce internal generic dynamic buffer functionsDaniel Stenberg2020-05-041-1/+0
| | | | | | | | | | | | | A common set of functions instead of many separate implementations for creating buffers that can grow when appending data to them. Existing functionality has been ported over. In my early basic testing, the total number of allocations seem at roughly the same amount as before, possibly a few less. See docs/DYNBUF.md for a description of the API. Closes #5300
* global_init: move the IPv6 works status bool to multi handleDaniel Stenberg2020-01-281-2/+0
| | | | | | | | | Previously it was stored in a global state which contributed to curl_global_init's thread unsafety. This boolean is now instead figured out in curl_multi_init() and stored in the multi handle. Less effective, but thread safe. Closes #4851
* TrackMemory tests: always remove CR before LFMarcel Raad2020-01-061-0/+1
| | | | | | | | It was removed for output containing ' =' via `s/ =.*//`. With classic MinGW, this made lines with `free()` end with CRLF, but lines with e.g. `malloc()` end with only LF. The tests expect LF only. Closes https://github.com/curl/curl/pull/4788
* test558: fix for multissl buildsDaniel Stenberg2018-01-181-0/+1
| | | | | | vtls.c:multissl_init() might do a curl_free() call so strip that out to make this work with more builds. We just want to verify that memorytracking works so skipping one line is no harm.
* test558: adapt to 0649433daDaniel Stenberg2016-11-111-2/+2
|
* test558: fix test by stripping file paths from FD linesDan Fandrich2016-07-211-1/+1
|
* test558: updated after ipv6-check moveDaniel Stenberg2016-07-201-0/+3
| | | | Follow-up commit to c50980807c5 to make this test pass.
* testsuite: use binary output mode for custom curl test toolsMarc Hoersken2014-02-141-1/+1
| | | | | | | | | | | Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
* tests: 96, 558, 1330: strip build subdirectory dependent leading pathYang Tse2013-03-161-6/+7
|
* tests: add #96 #558 and #1330Yang Tse2013-03-151-0/+52
| | | | | | These verfy that the 'memory tracking' subsystem is actually doing its job when using curl tool (#96), a test in libtest (#558) and also a unit test (#1330), in order to prevent regressions in this functionallity.
* Converted tests 558 & 559 to use the unit test framework as 1305Dan Fandrich2011-03-041-44/+0
| | | | | Test 558 was just a subset of 559 which is something that can be easily added later.
* test #558 tests internal hash create/destroyYang Tse2008-10-271-1/+1
| | | | test #559 tests internal hash create/add/destroy
* Skip test #558 when libcurl is built with hidden symbolsYang Tse2008-10-271-0/+5
|
* convert test #558 into something more interesting, attemptingYang Tse2008-10-261-23/+8
| | | | now to minimally exercise some internal hash routines.
* test #558 verifies loop operation using malloc() and free()Yang Tse2008-10-261-0/+54