Exclude tst-realloc from tests-mcheck
commit7042b53f11339bc286270cd1a48eebf7989d198b
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 6 Jul 2021 18:01:58 +0000 (6 23:31 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 6 Jul 2021 18:04:11 +0000 (6 23:34 +0530)
treea3ee0f0976e26997dfc7e6262bc6f95679a92b2c
parentcf2256196cc843b574e39eb05b77fc0c00024aa1
Exclude tst-realloc from tests-mcheck

The realloc (NULL, 0) test in tst-realloc fails with gcc 7.x but
passes with newer gcc.  This is because a newer gcc transforms the
realloc call to malloc (0), thus masking the bug in mcheck.

Disable the test with mcheck for now.  The malloc removal patchset
will fix this and then remove this test from the exclusion list.

Reported-by: Stefan Liebler <stli@linux.ibm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
malloc/Makefile