[Bugs] [Bug 1067059] Support for unit tests in GlusterFS

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 31 11:11:22 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1067059



--- Comment #46 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9801 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com) 
------
commit 9c37b68bc15c503a0ad5cc2fb04be7b917496d90
Author: Niels de Vos <ndevos at redhat.com>
Date:   Tue Mar 3 00:27:34 2015 +0100

    build: require cmocka >= 1.0.1

    Our mem-pool unit test does a funky realloc(ptr, 0) as an alternative to
    free(ptr). cmocka 1.0.0 has a bug where this is not handled correctly
    and thinks to detect a memory leak. The next cmocka release will have
    this bug fixed, making our unit tests require cmocka >= 1.0.1.

    URL: https://cmocka.org/archive/cmocka/2015-02/0000059.html
    Change-Id: I3d7f9b4cf7ace3f958158425ecbcc8f176579122
    BUG: 1067059
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/9801
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Andreas Schneider <asn at fedoraproject.org>
    Tested-by: Andreas Schneider <asn at fedoraproject.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=37WPSjKHqW&a=cc_unsubscribe


More information about the Bugs mailing list