[Rpm-maint] [rpm-software-management/rpm] Enable malloc checking with random perturb in the test-suite (PR #2218)

Panu Matilainen notifications at github.com
Tue Oct 4 12:31:13 UTC 2022


Glibc provides low-cost memory sanity checking on it's own, it'd be foolish not to take advantage of this in the test-suite for our CI. As this introduces a level of randomness to the system, record the environment in a file (in particular, glibc.malloc.perturb value) to make possible failures reproducable.

This is effective for glibc >= 2.34 only, in older versions the mechanism to enable differs.

Based on initial patch by Elia Pinto.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2218

-- Commit Summary --

  * Enable malloc checking with random perturb in the test-suite

-- File Changes --

    M tests/atlocal.in (10)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2218.patch
https://github.com/rpm-software-management/rpm/pull/2218.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2218
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2218 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221004/2d3f5b74/attachment-0001.html>


More information about the Rpm-maint mailing list