summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install11
1 files changed, 10 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 636da7a6..33fdaad2 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -281,7 +281,16 @@ try:
c.expect(r'vyos@vyos:~\$')
log.info('Logged in!')
-
+ #################################################
+ # Basic Configmode/Opmode switch
+ #################################################
+ log.info("Basic CLI login test")
+ c.sendline('configure')
+ c.expect(r'\n[edit]\nvyos@vyos:~\#')
+ log.info('Switched to configuration mode')
+ c.sendline('exit')
+ c.expect(r'\nexit\nvyos@vyos:~\$')
+ log.info('Switched to operation mode')
#################################################
# Executing test-suite