summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-07-20 14:14:16 -0700
committerEdward Thomson <ethomson@edwardthomson.com>2018-07-26 15:34:53 +0100
commit219512e7989340d9efae8480fb79c08b91724014 (patch)
tree410b36e533b9c33738b885894733e600e46e7a0e /ci
parent6d6700d23860d21e8e5043e5c7689a6ed4d8fc70 (diff)
downloadlibgit2-219512e7989340d9efae8480fb79c08b91724014.tar.gz
buf tests: allocate a smaller size for the oom
On Linux (where we run valgrind) allocate a smaller buffer, but still an insanely large size. This will cause malloc to fail but will not cause valgrind to report a likely error with a negative-sized malloc. Keep the original buffer size on non-Linux platforms: this is well-tested on them and changing it may be problematic. On macOS, for example, using the new size causes `malloc` to print a warning to stderr.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions