Extract and mock functions that otherwise access system files which is not possible in a clean sbuild environment. Namely /etc/network/interfaces as well as /etc/frr/frr.config.local Disabling DNS tests
Changes v1 -> v2: * Disabled DNS tests because they fail Stefan Lendl (5): refactor(controllers): extract read_etc_network_interfaces refactor(evpn): extract read_local_frr_config tests: mocking more functions to avoid system access tests: disable failing DNS tests tests: run tests in sbuild src/Makefile | 2 +- src/PVE/Network/SDN/Controllers.pm | 16 ++++++--- src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 10 ++++-- src/test/Makefile | 2 +- src/test/run_test_zones.pl | 36 ++++++++++++++++++- 5 files changed, 56 insertions(+), 10 deletions(-) -- 2.43.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel