]> code.ossystems Code Review - openembedded-core.git/commit
connman_test.sh: Rework for busybox 'ps'
authorTom Rini <tom_rini@mentor.com>
Wed, 27 Jul 2011 22:01:35 +0000 (15:01 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Aug 2011 14:01:18 +0000 (15:01 +0100)
commitcb34ce6833f298d487eeb35cf8297f286ef624d4
tree8aa66532384a6d5a88ec5aacf6a0c13f6d0a8c18
parent5bbc3533710d82da0b35c70410b1a9019ab70336
connman_test.sh: Rework for busybox 'ps'

This script has two problems today.  First, it does 'ps -ef cmd'
in failure which real ps doesn't grok and busybox ps just ignores
the argument on.  Switch that to 'ps -ef'.  Second, busybox ps -o
doesn't understand cmd but does understand comm.  Using comm lets
us simplify the test logic as well, so switch to that.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
scripts/qemuimage-tests/tools/connman_test.sh