summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_ping.t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t/check_ping.t')
-rw-r--r--plugins/t/check_ping.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_ping.t b/plugins/t/check_ping.t
index e1c119e..1604f8f 100644
--- a/plugins/t/check_ping.t
+++ b/plugins/t/check_ping.t
@@ -90,7 +90,7 @@ like( $res->output, '/100%/', "Error contains '100%' string (for 100% packet los
90 90
91 91
92$res = NPTest->testCmd( 92$res = NPTest->testCmd(
93 "./check_ping $host_nonresponsive -p 1 -t 1 100 100 1000 10000" 93 "./check_ping $host_nonresponsive -p 1 -t 15 100 100 1000 10000"
94 ); 94 );
95is( $res->return_code, 2, "Old syntax: Timeout - host nonresponsive" ); 95is( $res->return_code, 2, "Old syntax: Timeout - host nonresponsive" );
96like( $res->output, '/100%/', "Error contains '100%' string (for 100% packet loss)" ); 96like( $res->output, '/100%/', "Error contains '100%' string (for 100% packet loss)" );