mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Testsuite: T6991: inform smoketest about this environment
This commit is contained in:
parent
20b20efcca
commit
81ae7efbac
@ -536,12 +536,17 @@ try:
|
||||
c.sendline('systemd-detect-virt')
|
||||
c.expect('kvm')
|
||||
c.expect(op_mode_prompt)
|
||||
|
||||
# Ensure ephemeral key is loaded
|
||||
vyos_kernel_key = 'VyOS build time autogenerated kernel key'
|
||||
c.sendline(f'show log kernel | match "{vyos_kernel_key}"')
|
||||
c.expect(f'.*{vyos_kernel_key}.*')
|
||||
c.expect(op_mode_prompt)
|
||||
|
||||
# Inform smoketest about this environment
|
||||
c.sendline('touch /tmp/vyos.smoketests.hint')
|
||||
c.expect(op_mode_prompt)
|
||||
|
||||
#################################################
|
||||
# Executing test-suite
|
||||
#################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user