mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
Use a console login not SSH for simplicity. (From OE-Core rev: 842f3beb211eb0a398b37c50d433a93b86964f6b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ae1a9a87b5
commit
ce71ef3ee5
@@ -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