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:04:07 +0000 (11:04 -0700)
commite80323de962311adc16cfa54d25d59b499e6f3c6
tree1b4739717f89fe0f91dd4ff4fb980d3d30f3036d
parent4053e06bea564b587f64e85d35e6013f157341db
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