diff options
author | Joe Stringer <joe@ovn.org> | 2017-08-15 16:15:54 -0700 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-08-15 16:48:06 -0700 |
commit | 46ccfadd90998ebd46b68906191743010008c1a9 (patch) | |
tree | e466e9eebf6efeda69a95d709282a28703776ad4 /tests/atlocal.in | |
parent | 4e0b4acca2ab294a07836684d0726187b3cf7174 (diff) | |
download | openvswitch-46ccfadd90998ebd46b68906191743010008c1a9.tar.gz |
tests: Put maximum timeout on netcat calls.
This was causing test script execution to hang forever on Ubuntu Zesty.
Make sure it times out within 5 seconds, so at least it will fail out
properly.
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Diffstat (limited to 'tests/atlocal.in')
-rw-r--r-- | tests/atlocal.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in index 6a339f8fc..ba143d30f 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -152,9 +152,9 @@ find_command nc # Determine correct netcat option to quit on stdin EOF if nc --version 2>&1 | grep -q nmap.org; then - NC_EOF_OPT="--send-only" + NC_EOF_OPT="--send-only -w 5" else - NC_EOF_OPT="-q 1" + NC_EOF_OPT="-q 1 -w 5" fi # Set HAVE_TCPDUMP |