diff options
| author | Ross Burton <ross.burton@intel.com> | 2017-11-06 17:54:48 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:56 +0000 |
| commit | 4e28c8d6b7081125d3032e9958f85b6d74013e35 (patch) | |
| tree | 9be621b4475ceb410502f5d274f4228e0719fa10 /meta/lib | |
| parent | 18941419c8ca01735e237f9ae96db260bd958ce2 (diff) | |
| download | poky-4e28c8d6b7081125d3032e9958f85b6d74013e35.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: 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>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | 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 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)) |
