diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-05-11 11:42:46 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-05-11 11:42:46 +0000 |
commit | 1d966e4e31ff8838e686b92982a16b81c6be730d (patch) | |
tree | e1a840da231dd7036d5ee77c18b631a5d4803805 | |
parent | 745e98e21188f577cb57f8f129218aaae78ed90b (diff) |
Use the new netcat -W recvlimit feature to speed up the test.
-rw-r--r-- | regress/sys/netinet/ipsec/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/netinet/ipsec/Makefile b/regress/sys/netinet/ipsec/Makefile index 3c8dca0b7f9..218e75b4f98 100644 --- a/regress/sys/netinet/ipsec/Makefile +++ b/regress/sys/netinet/ipsec/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2017/05/10 22:21:39 bluhm Exp $ +# $OpenBSD: Makefile,v 1.11 2017/05/11 11:42:45 bluhm Exp $ # This test needs a manual setup of four machines, the make # target create-setup can be used distribute the configuration. @@ -316,7 +316,7 @@ run-regress-send-udp-${host}_${sec}_${mode}_${ipv}: awk '/input ${sec:S/BUNDLE/ESP/} /{print $$1}' >pkt.in netstat -s -p ${sec:L:S/ipip/ipencap/:S/bundle/esp/} |\ awk '/output ${sec:S/BUNDLE/ESP/} /{print $$1}' >pkt.out - echo $$$$ | nc -n -u -w 1 ${${host}_${sec}_${mode}_${ipv}} 7 |\ + echo $$$$ | nc -n -u -W 1 -w 3 ${${host}_${sec}_${mode}_${ipv}} 7 |\ fgrep $$$$ .if "${sec}" == IPCOMP netstat -s -p ${sec:L:S/ipip/ipencap/:S/bundle/esp/} |\ |