From 05ae9689eb80ff2350f2d8d03d9c25333badb670 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 10 Nov 2021 09:17:17 -0600 Subject: [PATCH] auto-t: use tmp radvd pid file On some systems the default radvd pid file location is not accessible. Specify it to be under /tmp instead. While there, enable full radvd debug output so it is logged when test-runner is invoked with the --log option. --- autotests/testNetconfig/connection_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/testNetconfig/connection_test.py b/autotests/testNetconfig/connection_test.py index 94aa4ee4..9cf1d956 100644 --- a/autotests/testNetconfig/connection_test.py +++ b/autotests/testNetconfig/connection_test.py @@ -87,7 +87,7 @@ class Test(unittest.TestCase): config = open('/tmp/radvd.conf', 'w') config.write('interface ' + hapd.ifname + ' { AdvSendAdvert on; AdvManagedFlag on; };') config.close() - cls.radvd_pid = ctx.start_process(['radvd', '-n', '-C', '/tmp/radvd.conf']) + cls.radvd_pid = ctx.start_process(['radvd', '-n', '-d5', '-p', '/tmp/radvd.pid', '-C', '/tmp/radvd.conf']) @classmethod def tearDownClass(cls):