summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2013-07-12 13:38:53 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-16 10:04:16 +0100
commit7f57d3c524068531eee1945ea6f700db9c4bbf1e (patch)
tree938de51cbec8a4e1313e8a404c2cb39a7b55cdea /meta/lib/oeqa/runtime
parentb69f91f786d58c1e91875cbab2d748bc102ab939 (diff)
downloadpoky-7f57d3c524068531eee1945ea6f700db9c4bbf1e.tar.gz
lib/oeqa/oetest.py: provide a ps command for all tests
Many tests will use 'ps' but we need to know if it's busybox or standard ps. Drop the existing check from the connman test. (From OE-Core rev: 1515d33d2c5b7275a3ac20e07c1db1d8273de796) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/connman.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/lib/oeqa/runtime/connman.py b/meta/lib/oeqa/runtime/connman.py
index 835e1355c3..5ef96f6b06 100644
--- a/meta/lib/oeqa/runtime/connman.py
+++ b/meta/lib/oeqa/runtime/connman.py
@@ -17,11 +17,6 @@ class ConnmanTest(oeRuntimeTest):
17 17
18 @skipUnlessPassed('test_connmand_help') 18 @skipUnlessPassed('test_connmand_help')
19 def test_connmand_running(self): 19 def test_connmand_running(self):
20 status = self.target.run('ls -l `which ps` | grep busybox')[0]
21 if status == 0:
22 oeRuntimeTest.pscmd = 'ps'
23 else:
24 oeRuntimeTest.pscmd = 'ps -ef'
25 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand') 20 (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand')
26 self.assertEqual(status, 0, msg="no connmand process, ps output: %s" % self.target.run(oeRuntimeTest.pscmd)[1]) 21 self.assertEqual(status, 0, msg="no connmand process, ps output: %s" % self.target.run(oeRuntimeTest.pscmd)[1])
27 22