- (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We need
a better solution, but this will have to do for now.
This commit is contained in:
parent
426117b2e9
commit
a9c46746d2
|
@ -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
|
20140730
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
- millert@cvs.openbsd.org 2014/07/24 22:57:10
|
- millert@cvs.openbsd.org 2014/07/24 22:57:10
|
||||||
|
|
|
@ -8,11 +8,15 @@ tid="connection multiplexing"
|
||||||
if have_prog nc ; then
|
if have_prog nc ; then
|
||||||
if nc -h 2>&1 | grep -- -N >/dev/null; then
|
if nc -h 2>&1 | grep -- -N >/dev/null; then
|
||||||
NC="nc -N";
|
NC="nc -N";
|
||||||
else
|
elif nc -h 2>&1 | grep -- "-U.*Use UNIX" >/dev/null ; then
|
||||||
NC="nc"
|
NC="nc"
|
||||||
fi
|
else
|
||||||
else
|
echo "nc is incompatible"
|
||||||
echo "skipped (no nc found)"
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -z "$NC" ; then
|
||||||
|
echo "skipped (no compatible nc found)"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue