mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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:
parent
0a9a8d3468
commit
2d78aa0828
@ -291,7 +291,7 @@ try:
|
|||||||
#################################################
|
#################################################
|
||||||
log.info("Executing test-suite ")
|
log.info("Executing test-suite ")
|
||||||
|
|
||||||
c.sendline('/usr/bin/vyos-smoketest')
|
c.sendline('sudo /usr/bin/vyos-smoketest')
|
||||||
i = c.expect(['\n +Invalid command:',
|
i = c.expect(['\n +Invalid command:',
|
||||||
'\n +Set failed',
|
'\n +Set failed',
|
||||||
'No such file or directory',
|
'No such file or directory',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user