[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8166/8267] oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 8166/8267] oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot
- Date: Sun, 17 Dec 2017 07:16:13 +0000 (UTC)
commit 4e28c8d6b7081125d3032e9958f85b6d74013e35
Author: Ross Burton <ross burton intel com>
Date: 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.
(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>
meta/lib/oeqa/selftest/cases/runtime_test.py | 3 +--
1 files changed, 1 insertions(+), 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]