commit 05ae9689eb80ff2350f2d8d03d9c25333badb670
parent 005198bf07f17e951bbe0ff6132005a12ae3d055
Author: Denis Kenzior <denkenz@gmail.com>
Date: Wed, 10 Nov 2021 09:17:17 -0600
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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):