diff options
author | Stefan Stanacar <stefanx.stanacar@intel.com> | 2013-07-12 13:38:53 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-15 10:29:27 -0700 |
commit | 1515d33d2c5b7275a3ac20e07c1db1d8273de796 (patch) | |
tree | e0447ac2afcc67e21da9e5ea76129308bec9b734 /meta/lib/oeqa/runtime/connman.py | |
parent | c2c47a002996b8dbcf9b311dff677202b1f11a64 (diff) | |
download | openembedded-core-1515d33d2c5b7275a3ac20e07c1db1d8273de796.tar.gz openembedded-core-1515d33d2c5b7275a3ac20e07c1db1d8273de796.tar.bz2 openembedded-core-1515d33d2c5b7275a3ac20e07c1db1d8273de796.zip |
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.
Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib/oeqa/runtime/connman.py')
-rw-r--r-- | meta/lib/oeqa/runtime/connman.py | 5 |
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): @skipUnlessPassed('test_connmand_help') def test_connmand_running(self): - status = self.target.run('ls -l `which ps` | grep busybox')[0] - if status == 0: - oeRuntimeTest.pscmd = 'ps' - else: - oeRuntimeTest.pscmd = 'ps -ef' (status, output) = self.target.run(oeRuntimeTest.pscmd + ' | grep [c]onnmand') self.assertEqual(status, 0, msg="no connmand process, ps output: %s" % self.target.run(oeRuntimeTest.pscmd)[1]) |