mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Don't run IP source address overwrite tests on OSX
This commit is contained in:
@@ -737,6 +737,8 @@ void IPTest::test_overwrite_source_address(IP& ip) {
|
||||
EXPECT_EQ(output_buffer, buffer);
|
||||
}
|
||||
|
||||
// Only run these tests on non-osx nor freebsd
|
||||
#if !(__FreeBSD__ || defined(__FreeBSD_kernel__) || __APPLE__)
|
||||
TEST_F(IPTest, OverwriteSourceAddress) {
|
||||
IP ip("8.8.8.8");
|
||||
ip.src_addr("1.2.3.4");
|
||||
@@ -756,5 +758,4 @@ TEST_F(IPTest, OverwriteSourceAddressConstructingFromBuffer) {
|
||||
IP ip(expected_output, sizeof(expected_output));
|
||||
test_overwrite_source_address(ip);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user