From 7c740caf63c953c9698e21800048055f7a58d086 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 17 Mar 2026 17:35:53 +0100 Subject: [PATCH] test-namespace-listen: only run when namespaces are enabled Signed-off-by: Nikos Mavrogiannopoulos --- tests/meson.build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 661dac3c..668665b9 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -202,7 +202,7 @@ if get_option('root-tests') 'test-user-config', 'test-append-routes', 'test-ban', 'multiple-routes', 'json', 'test-udp-listen-host', 'test-max-same-1', - 'apple-ios', 'ipv6-iface', 'test-namespace-listen', + 'apple-ios', 'ipv6-iface', 'disconnect-user', 'disconnect-user2', 'terminate-commands', 'ping-leases', 'test-ban-local', 'test-client-bypass-protocol', 'ipv6-small-net', 'test-camouflage', 'test-camouflage-norealm', @@ -227,6 +227,15 @@ if get_option('root-tests') ) endforeach + if get_option('namespaces').enabled() + test('test-namespace-listen', find_program('test-namespace-listen'), + env: test_env, + timeout: 300, + is_parallel: false, + workdir: test_workdir, + ) + endif + if radcli_dep.found() foreach s : ['radius', 'radius-group', 'radius-multi-group', 'radius-otp', 'radius-config']