From: Ondrej Lichtner <olichtne(a)redhat.com>
The expect attribute for bg commands should now be specified in the bg
command tag instead of the associated control command.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
recipes/smoke/lib/task-bg.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes/smoke/lib/task-bg.xml b/recipes/smoke/lib/task-bg.xml
index b9388d2..27536d8 100644
--- a/recipes/smoke/lib/task-bg.xml
+++ b/recipes/smoke/lib/task-bg.xml
@@ -1,5 +1,5 @@
<task>
- <run bg_id="1" machine="1" module="IcmpPing"
timeout="30">
+ <run bg_id="1" expect="#icmp_result#" machine="1"
module="IcmpPing" timeout="30">
<options>
<option name="addr" value="{ip(2,testiface)}"/>
<option name="count" value="40"/>
@@ -8,5 +8,5 @@
</options>
</run>
<ctl_wait seconds="5"/>
- <intr bg_id="1" expect="#icmp_result#" machine="1"
timeout="30"/>
+ <intr bg_id="1" machine="1" timeout="30"/>
</task>
--
1.8.3.1