From 2d78aa082830065dd681cc50f8dffae77b4b8226 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 16 Feb 2020 20:16:04 +0100 Subject: 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. --- scripts/check-qemu-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/check-qemu-install') 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', -- cgit v1.2.3