summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/imagefeatures.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/imagefeatures.py')
-rw-r--r--meta/lib/oeqa/selftest/imagefeatures.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/imagefeatures.py b/meta/lib/oeqa/selftest/imagefeatures.py
index 62ddc52bcc..1c08ce2814 100644
--- a/meta/lib/oeqa/selftest/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/imagefeatures.py
@@ -31,7 +31,7 @@ class ImageFeatures(oeSelfTest):
31 # Build a core-image-minimal 31 # Build a core-image-minimal
32 bitbake('core-image-minimal') 32 bitbake('core-image-minimal')
33 33
34 with runqemu("core-image-minimal", self) as qemu: 34 with runqemu("core-image-minimal") as qemu:
35 # Attempt to ssh with each user into qemu with empty password 35 # Attempt to ssh with each user into qemu with empty password
36 for user in [self.root_user, self.test_user]: 36 for user in [self.root_user, self.test_user]:
37 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user) 37 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user)
@@ -58,7 +58,7 @@ class ImageFeatures(oeSelfTest):
58 # Build a core-image-minimal 58 # Build a core-image-minimal
59 bitbake('core-image-minimal') 59 bitbake('core-image-minimal')
60 60
61 with runqemu("core-image-minimal", self) as qemu: 61 with runqemu("core-image-minimal") as qemu:
62 # Attempt to ssh with each user into qemu with empty password 62 # Attempt to ssh with each user into qemu with empty password
63 for user in [self.root_user, self.test_user]: 63 for user in [self.root_user, self.test_user]:
64 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user) 64 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user=user)
@@ -112,7 +112,7 @@ class ImageFeatures(oeSelfTest):
112 self.fail('No rpm package found in image') 112 self.fail('No rpm package found in image')
113 113
114 # Now do a couple of runtime tests 114 # Now do a couple of runtime tests
115 with runqemu("core-image-minimal", self) as qemu: 115 with runqemu("core-image-minimal") as qemu:
116 command = "rpm --version" 116 command = "rpm --version"
117 status, output = qemu.run(command) 117 status, output = qemu.run(command)
118 self.assertEqual(0, status, 'Failed to run command "%s": %s' % (command, output)) 118 self.assertEqual(0, status, 'Failed to run command "%s": %s' % (command, output))