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.
This commit is contained in:
Denis Kenzior 2021-11-10 09:17:17 -06:00
parent 005198bf07
commit 05ae9689eb
1 changed files with 1 additions and 1 deletions

View File

@ -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):