From: Ross Burton Date: Fri, 5 Apr 2013 15:35:30 +0000 (+0100) Subject: connman_test.sh: show all processes when dumping ps X-Git-Tag: 2015-4~6928 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6ee4a2ba6ee9633c1fa08d3b162d6d00da307798;p=openembedded-core.git connman_test.sh: show all processes when dumping ps We know the grep failed because the error case is being executed, so don't do the grep again when attempting to help diagnose the problem, as seeing the full process list might be useful. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/qemuimage-tests/tools/connman_test.sh b/scripts/qemuimage-tests/tools/connman_test.sh index 8ed8b8b4aa..4c1e2f558e 100644 --- a/scripts/qemuimage-tests/tools/connman_test.sh +++ b/scripts/qemuimage-tests/tools/connman_test.sh @@ -45,7 +45,7 @@ fi if [ $count -ne 1 ]; then Target_Info "connmand has issue when running in background, Pls, check the output of ps" - ${PS} | grep connmand + ${PS} exit 1 fi