commit d139b3a45055219a4708b356a016eccbaf579480
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Wed Oct 1 16:13:03 2014 +0200
Icmp6Ping: add size option
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
test_modules/Icmp6Ping.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/test_modules/Icmp6Ping.py b/test_modules/Icmp6Ping.py
index 5e05e90..9197b42 100644
--- a/test_modules/Icmp6Ping.py
+++ b/test_modules/Icmp6Ping.py
@@ -28,6 +28,10 @@ class Icmp6Ping(TestGeneric):
if interval:
cmd += " -i %s" % interval
+ size = self.get_opt("size")
+ if size:
+ cmd += " -s %s" % size
+
return cmd
def run(self):
Show replies by date