diff options
Diffstat (limited to 'plugins-root/t')
-rw-r--r-- | plugins-root/t/check_icmp.t | 11 |
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( | |||
89 | is( $res->return_code, 0, "IPv4 source_ip accepted" ); | 89 | is( $res->return_code, 0, "IPv4 source_ip accepted" ); |
90 | like( $res->output, $successOutput, "Output OK" ); | 90 | like( $res->output, $successOutput, "Output OK" ); |
91 | 91 | ||
92 | $res = NPTest->testCmd( | ||
93 | "$sudo ./check_icmp -H ::1 -b 65507" | ||
94 | ); | ||
95 | is( $res->return_code, 0, "Try max paket size" ); | ||
96 | like( $res->output, $successOutput, "Output OK - Didn't overflow" ); | ||
97 | |||
98 | $res = NPTest->testCmd( | ||
99 | "$sudo ./check_icmp -H ::1 -vvv" | ||
100 | ); | ||
101 | is( $res->return_code, 0, "Try IPv6 and vvv" ); | ||
102 | like( $res->output, $successOutput, "Output OK - Didn't overflow" ); | ||