diff options
author | Sven Nierlein <sven@nierlein.de> | 2014-06-24 15:07:44 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2014-06-24 15:07:44 +0200 |
commit | b35d12e931c6d330291f5c5f4847c33a122c63cb (patch) | |
tree | 65a773b10464cf527a6402e207f92ac1118f2542 /plugins/t/check_udp.t | |
parent | 580bdd286379f6d8b678b9a7472572cfa2684aaf (diff) | |
download | monitoring-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.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: { cmp_ok( $res->return_code, '==', '2', "Hung waiting for response"); like ( $res->output, '/Socket timeout after 5 seconds/', "Timeout message"); like ( $duration, '/^[56]$/', "Timeout after 5 (possibly 6) seconds"); - my $read_nc = <NC>; + my $read_nc = <NC> || ''; close NC; cmp_ok( $read_nc, 'eq', "foofoo", "Data received correctly" ); } |