summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py')
-rw-r--r--lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
index 8ac6443..a04032c 100644
--- a/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
+++ b/lib/oeqa/selftest/cases/updater_qemux86_64_ptest.py
@@ -37,8 +37,8 @@ class PtestTests(OESelftestTestCase):
37 return qemu_send_command(self.qemu.ssh_port, command, timeout=timeout) 37 return qemu_send_command(self.qemu.ssh_port, command, timeout=timeout)
38 38
39 def test_run_ptests(self): 39 def test_run_ptests(self):
40 # logger = logging.getLogger("selftest") 40 # simulate a login shell, so that /usr/sbin is in $PATH (from /etc/profile)
41 stdout, stderr, retcode = self.qemu_command('ptest-runner', timeout=None) 41 stdout, stderr, retcode = self.qemu_command('sh -l -c ptest-runner', timeout=None)
42 output = stdout.decode() 42 output = stdout.decode()
43 print(output) 43 print(output)
44 self.assertEqual(retcode, 0) 44 self.assertEqual(retcode, 0)