From e9f365536e1f6e65451d16d4c5bbd871c7107d04 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 28 Dec 2019 00:38:55 +0100 Subject: Testsuite: raise exception when smoketest could not be executed --- scripts/check-qemu-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 5789a782..88477afd 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -297,8 +297,8 @@ try: elif i==1: raise Exception('Set syntax failed :/') elif i==2: - log.error("Did not find VyOS-smoketest, this should be an exception") - #raise Exception("WTF? did not find VyOS-smoketest, this should be an exception") + log.error("Did not find VyOS smoketest, this should be an exception") + raise Exception("WTF? did not find VyOS smoketest, this should be an exception") cr(c, '/usr/bin/vyos-smoketest') log.info("Smoke test status") -- cgit v1.2.3