aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sven Nierlein <Sven.Nierlein@consol.de> 2013-09-17 11:23:12 +0200
committerGravatar Sven Nierlein <sven@consol.de> 2013-09-17 11:23:12 +0200
commitddff48fb2525c507bc0b457bb0832079b173fade (patch)
tree52097d964aaa2d9c2e90b6244bdecbc5dce9efd1
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/
-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 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) {
}
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;