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
Stefan Lendl (4): refactor(controllers): extract read_etc_network_interfaces refactor(evpn): extract read_local_frr_config tests: mocking more functions to avoid system access 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/run_test_zones.pl | 36 ++++++++++++++++++- 4 files changed, 55 insertions(+), 9 deletions(-) -- 2.42.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel