From: Ross Burton Date: Mon, 6 Nov 2017 17:54:48 +0000 (+0000) Subject: oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19677 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842f3beb211eb0a398b37c50d433a93b86964f6b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/runtime_test: use console in postinst_rootfs_and_boot Use a console login not SSH for simplicity. Signed-off-by: Ross Burton --- diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 7a3653ddfe4..25270b7535b 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))