diff options
author | Sven Nierlein <Sven.Nierlein@consol.de> | 2013-09-17 11:23:12 +0200 |
---|---|---|
committer | Sven Nierlein <sven@consol.de> | 2013-09-17 11:23:12 +0200 |
commit | ddff48fb2525c507bc0b457bb0832079b173fade (patch) | |
tree | 52097d964aaa2d9c2e90b6244bdecbc5dce9efd1 /plugins/t/check_udp.t | |
parent | c7ea2aed746e610cd7f7e0a95ae275b5ea3a3d62 (diff) | |
download | monitoring-plugins-ddff48fb2525c507bc0b457bb0832079b173fade.tar.gz |
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/
Diffstat (limited to 'plugins/t/check_udp.t')
-rw-r--r-- | plugins/t/check_udp.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/t/check_udp.t b/plugins/t/check_udp.t index 6ede300b..619cadfb 100644 --- a/plugins/t/check_udp.t +++ b/plugins/t/check_udp.t | |||
@@ -42,6 +42,7 @@ elsif(system("which nc >/dev/null 2>&1") == 0) { | |||
42 | } | 42 | } |
43 | 43 | ||
44 | SKIP: { | 44 | SKIP: { |
45 | skip "solaris netcat does not listen to udp", 6 if $^O eq 'solaris'; | ||
45 | skip "No netcat available", 6 unless $nc; | 46 | skip "No netcat available", 6 unless $nc; |
46 | open (NC, "echo 'barbar' | $nc |"); | 47 | open (NC, "echo 'barbar' | $nc |"); |
47 | sleep 1; | 48 | sleep 1; |