commit 161ac5885c3f67ef53f90664c4b2b6f9c92e7be7
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Wed Jun 5 13:24:20 2013 +0200
smoke lib: add variable icmp_result to cmd sequences
This commit adds the recently added attribute pass_result tag to two
commands in command sequences of smoke tests. The value of this
attribute is a variable icmp_result added in the previous commit.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
recipes/smoke/lib/seq-bg.xml | 2 +-
recipes/smoke/lib/seq-ping.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/recipes/smoke/lib/seq-bg.xml b/recipes/smoke/lib/seq-bg.xml
index 302a9f4..7f3ec80 100644
--- a/recipes/smoke/lib/seq-bg.xml
+++ b/recipes/smoke/lib/seq-bg.xml
@@ -9,5 +9,5 @@
</options>
</command>
<command type="ctl_wait" value="5"/>
- <command machine_id="1" timeout="30" type="intr"
value="1"/>
+ <command machine_id="1" timeout="30" type="intr"
pass_result="#icmp_result#" value="1"/>
</command_sequence>
diff --git a/recipes/smoke/lib/seq-ping.xml b/recipes/smoke/lib/seq-ping.xml
index 27dd032..ec8e340 100644
--- a/recipes/smoke/lib/seq-ping.xml
+++ b/recipes/smoke/lib/seq-ping.xml
@@ -1,5 +1,5 @@
<command_sequence>
- <command machine_id="1" timeout="30" type="test"
value="IcmpPing">
+ <command machine_id="1" timeout="30" type="test"
value="IcmpPing" pass_result="#icmp_result#">
<options>
<option name="addr" value="{ip(2,testiface)}"/>
<option name="count" value="40"/>
Show replies by thread