network/stress/ns-tools: make PING_MAX times adjustable
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi!
Quoted 15 lines
Some switches need a while to learn the new assigned address, which make the connectivity check failed. Make
PING_MAXadjustable to let user can pre-define it based on their own environment.Signed-off-by Hangbin Liu <[email protected]>--- testcases/network/stress/ns-tools/check_icmpv4_connectivity | 2 +- testcases/network/stress/ns-tools/check_icmpv6_connectivity | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)testcases/network/stress/ns-tools/check_icmpv4_connectivity +0
-0
testcases/network/stress/ns-tools/check_icmpv4_connectivity line 50
Quoted 5 lines
testcases/network/stress/ns-tools/check_icmpv4_connectivity +1
-1@@ -47,7 +47,7 @@ $trace_logic # The max number of ICMP echo request -PING_MAX=10 +PING_MAX=${PING_MAX:-"10"}
I do not like exposing random shell variables as interface without any documentation. Can't we just increase the PING_MAX to make it work for everybody without any extra work?
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list