diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-11 22:46:08 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-11 22:46:08 -0700 |
commit | 4e004176bacb0160007102742ec62e79a9d958bb (patch) | |
tree | e903e77b67e3a24c50238b7b60b223340fc52b8e /tests/autotest-local.pl | |
parent | 37467c13bfdfbdbee7cc5176a8755e04353a9deb (diff) |
tests: Improve out-of-memory tests
Previously there was no guarantee that the tests that check for out of memory
handling behavior are actually correct - e.g. that they correctly simulate out
of memory conditions.
Now every simulated out of memory condition has to be "guarded" using
CHECK_ALLOC_FAIL. It makes sure that every piece of code that is supposed to
cause out-of-memory does so, and that no other code runs out of memory
unnoticed.
Diffstat (limited to 'tests/autotest-local.pl')
0 files changed, 0 insertions, 0 deletions