[oe-commits] [openembedded-core] 44/122: oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot

git at git.openembedded.org git at git.openembedded.org
Mon Dec 4 17:25:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch rocko
in repository openembedded-core.

commit 35ecbe834290f346a8acf1e926e3104a8ac6edb0
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>
    Signed-off-by: Armin Kuster <akuster at mvista.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