summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_udp.t
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.de>2014-06-24 15:07:44 +0200
committerSven Nierlein <sven@nierlein.de>2014-06-24 15:07:44 +0200
commitb35d12e931c6d330291f5c5f4847c33a122c63cb (patch)
tree65a773b10464cf527a6402e207f92ac1118f2542 /plugins/t/check_udp.t
parent580bdd286379f6d8b678b9a7472572cfa2684aaf (diff)
downloadmonitoring-plugins-b35d12e931c6d330291f5c5f4847c33a122c63cb.tar.gz
tests: always build and test on travis
also make test is now working on travis-ci Signed-off-by: Sven Nierlein <sven@nierlein.de>
Diffstat (limited to 'plugins/t/check_udp.t')
-rw-r--r--plugins/t/check_udp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_udp.t b/plugins/t/check_udp.t
index 619cadfb..1f6fee70 100644
--- a/plugins/t/check_udp.t
+++ b/plugins/t/check_udp.t
@@ -62,7 +62,7 @@ SKIP: {
62 cmp_ok( $res->return_code, '==', '2', "Hung waiting for response"); 62 cmp_ok( $res->return_code, '==', '2', "Hung waiting for response");
63 like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message"); 63 like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message");
64 like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds"); 64 like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds");
65 my $read_nc = <NC>; 65 my $read_nc = <NC> || '';
66 close NC; 66 close NC;
67 cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" ); 67 cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" );
68} 68}