[oe-commits] [openembedded-core] 09/44: oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 8 22:35:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 842f3beb211eb0a398b37c50d433a93b86964f6b
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Nov 6 17:54:48 2017 +0000
oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
Use a console login not SSH for simplicity.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/lib/oeqa/selftest/cases/runtime_test.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 7a3653d..25270b7 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -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))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list