tests: Disable glibc memory checking under glibc <= 2.11.
authorBen Pfaff <blp@nicira.com>
Fri, 11 Jul 2014 18:03:08 +0000 (11:03 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 11 Jul 2014 18:03:08 +0000 (11:03 -0700)
commitb6137ea8dd85358dffe59476df667e4460d21fca
tree2a06b5e6a021078a05204f97a01a5201d77fdabb
parent62974663fe9711d4c143fe192985ec7a17982c37
tests: Disable glibc memory checking under glibc <= 2.11.

We noticed that the unit tests sometimes fail on XenServer inside glibc's
memory checker, in the free_check() function.  It turns out that the
glibc memory checker in glibc 2.11 and earlier had an internal race that
caused false positives in multithreaded programs.

This commit avoids the problem by disabling the glibc memory checker in
glibc 2.11 and earlier.

VMware-BZ: #1267127
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Gurucharan Shetty <gshetty@nicira.com>
tests/atlocal.in