diff options
author | Sven Nierlein <sven@nierlein.org> | 2014-06-24 15:08:41 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2014-06-24 15:08:41 +0200 |
commit | 7508da9360a77c6799e74a8109b768a1b8fbba11 (patch) | |
tree | 65a773b10464cf527a6402e207f92ac1118f2542 /plugins/t/check_udp.t | |
parent | 580bdd286379f6d8b678b9a7472572cfa2684aaf (diff) | |
parent | b35d12e931c6d330291f5c5f4847c33a122c63cb (diff) | |
download | monitoring-plugins-7508da9360a77c6799e74a8109b768a1b8fbba11.tar.gz |
Merge pull request #1261 from sni/master
tests: always build and test on travis
Diffstat (limited to 'plugins/t/check_udp.t')
-rw-r--r-- | plugins/t/check_udp.t | 2 |
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 | } |