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:04:34 +0000 (15:04 +0100)
commite515f384a7517a72f51585039bf8fdf63fe81ec0
tree8cebd0f0fbdb8ace6db99668fca34b79d467f891
parent9a5cb4f15b947c6bfb31137c3edb3200434f6345
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.

(From OE-Core rev: cb34ce6833f298d487eeb35cf8297f286ef624d4)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/qemuimage-tests/tools/connman_test.sh