SPEC-2903: fix the grep test method 48/22748/1
authorCorentin LABBE <clabbe@baylibre.com>
Tue, 22 Oct 2019 12:11:15 +0000 (14:11 +0200)
committerCorentin LABBE <clabbe@baylibre.com>
Tue, 22 Oct 2019 12:20:04 +0000 (14:20 +0200)
commit9f36891d6fdee48056c9733fb5910087c9750b58
treea9f368c13188ac2f6bc84ab7c88aa850bd46b83c
parent3f8568f7144055a870e00f99ae9c9c440eb3f2a6
SPEC-2903: fix the grep test method

While inspecting if application test is working with our latest
SPEC-2903 changes I see in job 8845 the following errors:
+ grep urn:AGL:widget:provided-api config.xml
+ '<feature' 'name=\"urn:AGL:widget:provided-api\">'
./common/scripts/application-lifecycle.sh: line 74: <feature: command not found

So let's change the grep method.
Furthermore, add a debug for the do_afm_util for being sure it work as
needed.

Bug-AGL: SPEC-2903
Change-Id: I5a8a6d98cd9dc6c1b2d1626fc6841eb2c2b16d53
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
common/scripts/application-lifecycle.sh