commit 7e498f8f0d2dc309093f4458a945e19a340dcde2
Author: Jan Tluka <jtluka(a)redhat.com>
Date: Tue Sep 16 10:50:14 2014 +0200
IcmpPing: add size option
Signed-off-by: Jan Tluka <jtluka(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
test_modules/IcmpPing.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/test_modules/IcmpPing.py b/test_modules/IcmpPing.py
index 5dfc5b2..5b9d888 100644
--- a/test_modules/IcmpPing.py
+++ b/test_modules/IcmpPing.py
@@ -28,6 +28,9 @@ class IcmpPing(TestGeneric):
iface = self.get_opt("iface")
if iface:
cmd += " -I %s" % iface
+ size = self.get_opt("size")
+ if size:
+ cmd += " -s %s" % size
return cmd
def run(self):
Show replies by date