summaryrefslogtreecommitdiffstats
path: root/plugins-root/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-root/t')
-rw-r--r--plugins-root/t/check_icmp.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins-root/t/check_icmp.t b/plugins-root/t/check_icmp.t
index 55edc31b..71cc5b38 100644
--- a/plugins-root/t/check_icmp.t
+++ b/plugins-root/t/check_icmp.t
@@ -89,3 +89,14 @@ $res = NPTest->testCmd(
89is( $res->return_code, 0, "IPv4 source_ip accepted" ); 89is( $res->return_code, 0, "IPv4 source_ip accepted" );
90like( $res->output, $successOutput, "Output OK" ); 90like( $res->output, $successOutput, "Output OK" );
91 91
92$res = NPTest->testCmd(
93 "$sudo ./check_icmp -H ::1 -b 65507"
94 );
95is( $res->return_code, 0, "Try max paket size" );
96like( $res->output, $successOutput, "Output OK - Didn't overflow" );
97
98$res = NPTest->testCmd(
99 "$sudo ./check_icmp -H ::1 -vvv"
100 );
101is( $res->return_code, 0, "Try IPv6 and vvv" );
102like( $res->output, $successOutput, "Output OK - Didn't overflow" );