diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-16 20:16:04 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-16 20:16:06 +0100 |
commit | 2d78aa082830065dd681cc50f8dffae77b4b8226 (patch) | |
tree | 0c429b3055d154ec4472bb75c5f1ec8b1b102605 /scripts | |
parent | 0a9a8d346826edf6fd5ff98f0fdf127fe2869ace (diff) | |
download | vyos-build-2d78aa082830065dd681cc50f8dffae77b4b8226.tar.gz vyos-build-2d78aa082830065dd681cc50f8dffae77b4b8226.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-qemu-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index b5ccc0b3..43117b2b 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -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', |