diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | regress/multiplex.sh | 12 |
2 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20130801 | ||
2 | - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need | ||
3 | a better solution, but this will have to do for now. | ||
4 | |||
1 | 20140730 | 5 | 20140730 |
2 | - OpenBSD CVS Sync | 6 | - OpenBSD CVS Sync |
3 | - millert@cvs.openbsd.org 2014/07/24 22:57:10 | 7 | - millert@cvs.openbsd.org 2014/07/24 22:57:10 |
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" | |||
8 | if have_prog nc ; then | 8 | if 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 |
14 | else | 14 | echo "nc is incompatible" |
15 | echo "skipped (no nc found)" | 15 | fi |
16 | fi | ||
17 | |||
18 | if test -z "$NC" ; then | ||
19 | echo "skipped (no compatible nc found)" | ||
16 | exit 0 | 20 | exit 0 |
17 | fi | 21 | fi |
18 | 22 | ||