Testsuite: start smoketest as root

Some configuration files (e.g. ddclient) can only be opened as root user,
thus we should run the smoketests as root.
This commit is contained in:
Christian Poessinger 2020-02-16 20:16:04 +01:00
parent 0a9a8d3468
commit 2d78aa0828

View File

@ -291,7 +291,7 @@ try:
#################################################
log.info("Executing test-suite ")
c.sendline('/usr/bin/vyos-smoketest')
c.sendline('sudo /usr/bin/vyos-smoketest')
i = c.expect(['\n +Invalid command:',
'\n +Set failed',
'No such file or directory',