mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-03 13:27:28 -08:00
Fixes for some previosuly undetected test fallout: - beast: delete a test that fails with network-sandbox - bind: disable -Werror for gcc-15 - callable_traits: fails with gcc-15 - yap: add <cstdint> for gcc-15 Closes: https://bugs.gentoo.org/954810 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/41818 Signed-off-by: Sam James <sam@gentoo.org>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
Delete a test case that tries to fail to connect to an
|
|
unconnectable address, but instead fails because network-sandbox
|
|
prevents the connection.
|
|
|
|
Bug: https://bugs.gentoo.org/954810
|
|
|
|
--- boost_1_88_0/libs/beast/test/beast/core/basic_stream.cpp~ 2025-04-03 13:37:23.000000000 +0200
|
|
+++ boost_1_88_0/libs/beast/test/beast/core/basic_stream.cpp 2025-04-27 22:42:50.705597311 +0200
|
|
@@ -1014,24 +1014,6 @@ public:
|
|
//
|
|
|
|
{
|
|
- // normal timeout
|
|
- // Requires timeout happen before ECONNREFUSED
|
|
- stream_type s(ioc);
|
|
- auto const ep = net::ip::tcp::endpoint(
|
|
- #if 1
|
|
- // This address _should_ be unconnectible
|
|
- net::ip::make_address("72.5.65.111"), 1);
|
|
- #else
|
|
- // On Travis ECONNREFUSED happens before the timeout
|
|
- net::ip::make_address("127.0.0.1"), 1);
|
|
- #endif
|
|
- s.expires_after(std::chrono::seconds(0));
|
|
- s.async_connect(ep, connect_handler{error::timeout});
|
|
- ioc.run_for(std::chrono::seconds(1));
|
|
- ioc.restart();
|
|
- }
|
|
-
|
|
- {
|
|
// stream destroyed
|
|
{
|
|
stream_type s(ioc);
|