boofuzz: fix build on darwin

Disable tests that need network access.
This commit is contained in:
Sebastián Mancilla 2022-07-10 00:13:31 -04:00
parent de5b3dd170
commit ed2b320176

View file

@ -37,9 +37,10 @@ python3.pkgs.buildPythonApplication rec {
];
disabledTests = [
# Tests require socket access
"test_raw_l2"
"test_raw_l3"
"TestNetworkMonitor"
"TestNoResponseFailure"
"TestProcessMonitor"
"TestSocketConnection"
];
pythonImportsCheck = [
@ -51,7 +52,5 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/jtpereyda/boofuzz";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ fab ];
# FAILED unit_tests/test_monitors.py::TestProcessMonitor::test_set_options_persistent
broken = (stdenv.isDarwin && stdenv.isx86_64);
};
}