summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_udp.t
diff options
context:
space:
mode:
authorSven Nierlein <Sven.Nierlein@consol.de>2013-09-17 09:23:12 (GMT)
committerSven Nierlein <sven@consol.de>2013-09-17 09:23:12 (GMT)
commitddff48fb2525c507bc0b457bb0832079b173fade (patch)
tree52097d964aaa2d9c2e90b6244bdecbc5dce9efd1 /plugins/t/check_udp.t
parentc7ea2aed746e610cd7f7e0a95ae275b5ea3a3d62 (diff)
downloadmonitoring-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.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/t/check_udp.t b/plugins/t/check_udp.t
index 6ede300..619cadf 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
44SKIP: { 44SKIP: {
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;