summaryrefslogtreecommitdiff
path: root/regress/multiplex.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-08-01 12:26:49 +1000
committerDamien Miller <djm@mindrot.org>2014-08-01 12:26:49 +1000
commita9c46746d266f8a1b092a72b2150682d1af8ebfc (patch)
tree354709def3aa8eb2f85c4e5ec86db64418d9be01 /regress/multiplex.sh
parent426117b2e965e43f47015942b5be8dd88fe74b88 (diff)
- (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need
a better solution, but this will have to do for now.
Diffstat (limited to 'regress/multiplex.sh')
-rw-r--r--regress/multiplex.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index 693211bff..377281a0c 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -8,11 +8,15 @@ tid="connection multiplexing"
8if have_prog nc ; then 8if have_prog nc ; then
9 if nc -h 2>&1 | grep -- -N >/dev/null; then 9 if nc -h 2>&1 | grep -- -N >/dev/null; then
10 NC="nc -N"; 10 NC="nc -N";
11 else 11 elif nc -h 2>&1 | grep -- "-U.*Use UNIX" >/dev/null ; then
12 NC="nc" 12 NC="nc"
13 fi 13 else
14else 14 echo "nc is incompatible"
15 echo "skipped (no nc found)" 15 fi
16fi
17
18if test -z "$NC" ; then
19 echo "skipped (no compatible nc found)"
16 exit 0 20 exit 0
17fi 21fi
18 22