summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-11-06 17:54:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-08 22:24:03 +0000
commitce71ef3ee5ccd11fb276b9272d7b3cdd0c7292b0 (patch)
treeef6e09e617a204d67d0baaa5f05bf1d12f1015e2 /meta/lib/oeqa
parentae1a9a87b5757d37a0f6a7ab46963537132e3d21 (diff)
downloadpoky-ce71ef3ee5ccd11fb276b9272d7b3cdd0c7292b0.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py3
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 7a3653ddfe..25270b7535 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 \
263 263
264 testcommand = 'ls /etc/' + fileboot_name 264 testcommand = 'ls /etc/' + fileboot_name
265 with runqemu('core-image-minimal') as qemu: 265 with runqemu('core-image-minimal') as qemu:
266 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog) 266 status, output = qemu.run_serial("-f /etc/" + fileboot_name)
267 status, output = ssh.run(testcommand)
268 self.assertEqual(status, 0, 'File %s was not created at first boot (%s)' % (fileboot_name, output)) 267 self.assertEqual(status, 0, 'File %s was not created at first boot (%s)' % (fileboot_name, output))