aboutsummaryrefslogtreecommitdiff
path: root/net/tcptestsuite
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2016-10-07 15:01:12 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2016-10-07 15:01:12 +0000
commitcaab20e42383541118b100f1f21c7b5ef91e2e1b (patch)
tree9b80c64b59cd6d547f874759e4203e6ecf6d58e4 /net/tcptestsuite
parent2f06e908312e19437475ced3f13540b8778948dc (diff)
downloadports-caab20e42383541118b100f1f21c7b5ef91e2e1b.tar.gz
ports-caab20e42383541118b100f1f21c7b5ef91e2e1b.zip
Notes
Diffstat (limited to 'net/tcptestsuite')
-rw-r--r--net/tcptestsuite/Makefile32
-rw-r--r--net/tcptestsuite/distinfo3
-rw-r--r--net/tcptestsuite/pkg-descr3
-rw-r--r--net/tcptestsuite/pkg-plist95
4 files changed, 133 insertions, 0 deletions
diff --git a/net/tcptestsuite/Makefile b/net/tcptestsuite/Makefile
new file mode 100644
index 000000000000..8a8835932761
--- /dev/null
+++ b/net/tcptestsuite/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= tcptestsuite
+PORTVERSION= 0.0.1
+CATEGORIES= net ipv6
+DISTNAME= ${PORTNAME}-94d4ef3
+
+MAINTAINER= gnn@freebsd.org
+COMMENT= Network stack test suite
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= packetdrill:net/packetdrill
+
+USE_GITHUB= yes
+GH_ACCOUNT= freebsd-net
+GH_PROJECT= tcp-testsuite
+GH_TAGNAME= 94d4ef3
+
+do-build:
+ echo "built"
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/run-all-tests ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite
+.for f in rcv-rst snd-syn socket-api rcv-icmp rcv-syn snippets
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/tcp-testsuite/${f}
+ @(cd ${WRKSRC}/${f} && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${f})
+.endfor
+
+.include <bsd.port.mk>
diff --git a/net/tcptestsuite/distinfo b/net/tcptestsuite/distinfo
new file mode 100644
index 000000000000..5d03d7dd94bf
--- /dev/null
+++ b/net/tcptestsuite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1475852166
+SHA256 (tcptestsuite-94d4ef3_GH0.tar.gz) = 07e6c72029fce4afd6f281bd52ba07fbd620e750a650e3cb03097ae2a5a4e1ce
+SIZE (tcptestsuite-94d4ef3_GH0.tar.gz) = 21650
diff --git a/net/tcptestsuite/pkg-descr b/net/tcptestsuite/pkg-descr
new file mode 100644
index 000000000000..74b306e9bb74
--- /dev/null
+++ b/net/tcptestsuite/pkg-descr
@@ -0,0 +1,3 @@
+# TCP Testsuite for FreeBSD based on Packetdrill
+
+This TCP testsuite focuses on testing FreeBSD's TCP stack.
diff --git a/net/tcptestsuite/pkg-plist b/net/tcptestsuite/pkg-plist
new file mode 100644
index 000000000000..e99949b921b2
--- /dev/null
+++ b/net/tcptestsuite/pkg-plist
@@ -0,0 +1,95 @@
+bin/run-all-tests
+%%DATADIR%%/rcv-icmp/README.md
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-comm-prohibited-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-comm-prohibited-ipv6.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-host-prohibited-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-ignored-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-ignored-ipv6.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-net-prohibited-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-port-unreachable-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-port-unreachable-ipv6.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-proto-unreachable-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-proto-unreachable-ipv6.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-ttl-exceeded-ipv4.pkt
+%%DATADIR%%/rcv-icmp/rcv-icmp-hard-error-ttl-exceeded-ipv6.pkt
+%%DATADIR%%/rcv-icmp/run-all-rcv-icmp-tests
+%%DATADIR%%/rcv-rst/README.md
+%%DATADIR%%/rcv-rst/run-all-rcv-rst-tests
+%%DATADIR%%/rcv-syn/README.md
+%%DATADIR%%/snd-syn/README.md
+%%DATADIR%%/snd-syn/run-all-syn-snd-tests
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-1280-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-65535-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-65535-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-72-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-9000-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-mss-inherited-from-mtu-9000-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-drop-options-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-drop-options-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-keepinit-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-keepinit-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-max-number-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-rtx-max-number-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-default-options-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-default-options-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-ecn-alt-maxretries-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-ecn-alt-maxretries-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-ecn-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-ecn-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-max-ws-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-max-ws-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-min-ws-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-with-min-ws-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-options-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-options-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-sack-and-ws-and-ts-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-sack-and-ws-and-ts-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-sack-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-sack-ipv6.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-ws-and-ts-ipv4.pkt
+%%DATADIR%%/snd-syn/snd-syn-without-ws-and-ts-ipv6.pkt
+%%DATADIR%%/snippets/README.md
+%%DATADIR%%/snippets/close-wait-ipv4.pkt
+%%DATADIR%%/snippets/close-wait-ipv6.pkt
+%%DATADIR%%/snippets/closed-initially-ipv4.pkt
+%%DATADIR%%/snippets/closed-initially-ipv6.pkt
+%%DATADIR%%/snippets/closed-via-last-ack-ipv4.pkt
+%%DATADIR%%/snippets/closed-via-last-ack-ipv6.pkt
+%%DATADIR%%/snippets/closing-ipv4.pkt
+%%DATADIR%%/snippets/closing-ipv6.pkt
+%%DATADIR%%/snippets/established-ipv4.pkt
+%%DATADIR%%/snippets/established-ipv6.pkt
+%%DATADIR%%/snippets/fin-wait-1-ipv4.pkt
+%%DATADIR%%/snippets/fin-wait-1-ipv6.pkt
+%%DATADIR%%/snippets/fin-wait-2-ipv4.pkt
+%%DATADIR%%/snippets/fin-wait-2-ipv6.pkt
+%%DATADIR%%/snippets/last-ack-ipv4.pkt
+%%DATADIR%%/snippets/last-ack-ipv6.pkt
+%%DATADIR%%/snippets/listen-ipv4.pkt
+%%DATADIR%%/snippets/listen-ipv6.pkt
+%%DATADIR%%/snippets/run-all-snippets
+%%DATADIR%%/snippets/syn-rcvd-via-listen-ipv4.pkt
+%%DATADIR%%/snippets/syn-rcvd-via-listen-ipv6.pkt
+%%DATADIR%%/snippets/syn-rcvd-via-syn-sent-ipv4.pkt
+%%DATADIR%%/snippets/syn-rcvd-via-syn-sent-ipv6.pkt
+%%DATADIR%%/snippets/syn-sent-ipv4.pkt
+%%DATADIR%%/snippets/syn-sent-ipv6.pkt
+%%DATADIR%%/snippets/time-wait-via-closing-ipv4.pkt
+%%DATADIR%%/snippets/time-wait-via-closing-ipv6.pkt
+%%DATADIR%%/snippets/time-wait-via-fin-wait-1-ipv4.pkt
+%%DATADIR%%/snippets/time-wait-via-fin-wait-1-ipv6.pkt
+%%DATADIR%%/snippets/time-wait-via-fin-wait-2-ipv4.pkt
+%%DATADIR%%/snippets/time-wait-via-fin-wait-2-ipv6.pkt
+%%DATADIR%%/socket-api/README.md
+%%DATADIR%%/socket-api/getsockopt/README.md
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepcnt-inherited-from-sysctl-ipv4.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepcnt-inherited-from-sysctl-ipv6.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepidle-inherited-from-sysctl-ipv4.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepidle-inherited-from-sysctl-ipv6.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepinit-inherited-from-sysctl-ipv4.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepinit-inherited-from-sysctl-ipv6.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepintvl-inherited-from-sysctl-ipv4.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-keepintvl-inherited-from-sysctl-ipv6.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-tcpinfo-ipv4.pkt
+%%DATADIR%%/socket-api/getsockopt/socket-api-getsockopt-tcpinfo-ipv6.pkt
+%%DATADIR%%/socket-api/run-all-socketapi-tests