Files
nixpkgs/pkgs/development/lua-modules/luv/disable-failing-darwin-tests.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
640 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/tests/test-udp.lua b/tests/test-udp.lua
index bd0f46d..e4542b4 100644
--- a/tests/test-udp.lua
+++ b/tests/test-udp.lua
@@ -280,14 +280,6 @@ return require('lib/tap')(function (test)
-- same check for skipping the ipv6 test; we just expanded it to
-- the ipv4 test as well.
local function has_external_interface(uv, family)
- local addresses = assert(uv.interface_addresses())
- for _, vals in pairs(addresses) do
- for _, info in ipairs(vals) do
- if (not family or info.family == family) and not info.internal then
- return true
- end
- end
- end
return false
end