scansion tests: Allow specifying network backend via environment variable
To make it easier to test select and event without having to edit the
config file, e.g. in CI.
make integration-test PROSODY_NETWORK_BACKEND=event
--- a/spec/scansion/prosody.cfg.lua Sun Jul 11 09:39:21 2021 +0200
+++ b/spec/scansion/prosody.cfg.lua Sun Jul 11 10:09:07 2021 +0200
@@ -13,7 +13,7 @@
admins = { "admin@localhost" }
-network_backend = "epoll"
+network_backend = ENV_PROSODY_NETWORK_BACKEND or "epoll"
network_settings = {
}