aboutsummaryrefslogtreecommitdiff
path: root/src/test/sanity_tests.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-03-10 14:31:10 +0800
committerfanquake <fanquake@gmail.com>2021-03-10 14:31:10 +0800
commit52f0be3a933225429b9b59b58de4fe54c2b20a02 (patch)
tree845655cb778ae48044cb06bc4f3d92e7d994cc0c /src/test/sanity_tests.cpp
parentbca5ee6f38f0ac89f0bb90d9e005b5bbd7c25b82 (diff)
downloadbitcoin-52f0be3a933225429b9b59b58de4fe54c2b20a02.tar.xz
compat: remove memcpy -> memmove backwards compatibility alias
In glib 2.13 memcpy was changed such that the way it copied bytes was reversed. This caused all sorts of issues for existing software, which depended on the existing behavior (when they should have been using memmove). See: https://sourceware.org/bugzilla/show_bug.cgi?id=12518 https://bugzilla.redhat.com/show_bug.cgi?id=638477 Now that we require glibc 2.17+ (#17538), we should be well clear of having to maintain our memcpy -> memmove aliasing, which was introduced in #4339.
Diffstat (limited to 'src/test/sanity_tests.cpp')
-rw-r--r--src/test/sanity_tests.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/sanity_tests.cpp b/src/test/sanity_tests.cpp
index 3e4b963fe3..496292875d 100644
--- a/src/test/sanity_tests.cpp
+++ b/src/test/sanity_tests.cpp
@@ -13,7 +13,6 @@ BOOST_FIXTURE_TEST_SUITE(sanity_tests, BasicTestingSetup)
BOOST_AUTO_TEST_CASE(basic_sanity)
{
- BOOST_CHECK_MESSAGE(glibc_sanity_test() == true, "libc sanity test");
BOOST_CHECK_MESSAGE(glibcxx_sanity_test() == true, "stdlib sanity test");
BOOST_CHECK_MESSAGE(ECC_InitSanityCheck() == true, "secp256k1 sanity test");
BOOST_CHECK_MESSAGE(ChronoSanityCheck() == true, "chrono epoch test");