mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
Use a console login not SSH for simplicity. (From OE-Core rev: 35ecbe834290f346a8acf1e926e3104a8ac6edb0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
18941419c8
commit
4e28c8d6b7
@@ -263,6 +263,5 @@ postinst-delayed-t \
|
||||
|
||||
testcommand = 'ls /etc/' + fileboot_name
|
||||
with runqemu('core-image-minimal') as qemu:
|
||||
ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog)
|
||||
status, output = ssh.run(testcommand)
|
||||
status, output = qemu.run_serial("-f /etc/" + fileboot_name)
|
||||
self.assertEqual(status, 0, 'File %s was not created at first boot (%s)' % (fileboot_name, output))
|
||||
|
||||
Reference in New Issue
Block a user