# HG changeset patch # User Kim Alvefur # Date 1625990947 -7200 # Node ID b92a3e166ac3092078a65a7c2a6dd4ae50d869cc # Parent 148075532021b377de127bb2cf72c33428e01e08 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 diff -r 148075532021 -r b92a3e166ac3 spec/scansion/prosody.cfg.lua --- 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 = { }