mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-23 01:42:10 -05:00
check_udp: skip tests which rely on udp listen
solaris netcat does not listen in udp mode due to http://sourceforge.net/p/netcat/bugs/27/
This commit is contained in:
parent
c7ea2aed74
commit
ddff48fb25
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ elsif(system("which nc >/dev/null 2>&1") == 0) {
|
|||
}
|
||||
|
||||
SKIP: {
|
||||
skip "solaris netcat does not listen to udp", 6 if $^O eq 'solaris';
|
||||
skip "No netcat available", 6 unless $nc;
|
||||
open (NC, "echo 'barbar' | $nc |");
|
||||
sleep 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue