diff options
author | djm <djm> | 2014-08-01 02:26:49 +0000 |
---|---|---|
committer | djm <djm> | 2014-08-01 02:26:49 +0000 |
commit | f97c3d563f22c0b02d7ce0016e68b005b3287da2 (patch) | |
tree | 6beaa140cd56f4829844342a1921e756d5e04cfe | |
parent | 003c28db9cf3b33af1bec0673491cd99d322adde (diff) | |
download | openssh-f97c3d563f22c0b02d7ce0016e68b005b3287da2.tar.gz |
- (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need
a better solution, but this will have to do for now.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/multiplex.sh | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,7 @@ +20130801 + - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need + a better solution, but this will have to do for now. + 20140730 - OpenBSD CVS Sync - millert@cvs.openbsd.org 2014/07/24 22:57:10 diff --git a/regress/multiplex.sh b/regress/multiplex.sh index 693211bf..377281a0 100644 --- a/regress/multiplex.sh +++ b/regress/multiplex.sh @@ -8,11 +8,15 @@ tid="connection multiplexing" if have_prog nc ; then if nc -h 2>&1 | grep -- -N >/dev/null; then NC="nc -N"; - else + elif nc -h 2>&1 | grep -- "-U.*Use UNIX" >/dev/null ; then NC="nc" - fi -else - echo "skipped (no nc found)" + else + echo "nc is incompatible" + fi +fi + +if test -z "$NC" ; then + echo "skipped (no compatible nc found)" exit 0 fi |