summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-12 11:55:42 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-04-12 11:55:42 +0000
commit817e199e4f4a2da124924a0993acc5f559bd89e4 (patch)
tree6aabb26198a358c02b0c284f9fb465f2ac583405 /regress/sys
parentfce3579f8f8f3e1e44a8ddb4ee68473c4bd6cf25 (diff)
Add comment how the test works.
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/pledge/sockopt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/sys/kern/pledge/sockopt/Makefile b/regress/sys/kern/pledge/sockopt/Makefile
index 858f11480d9..94ab0e938fb 100644
--- a/regress/sys/kern/pledge/sockopt/Makefile
+++ b/regress/sys/kern/pledge/sockopt/Makefile
@@ -1,4 +1,10 @@
-# $OpenBSD $
+# $OpenBSD: Makefile,v 1.3 2017/04/12 11:55:41 bluhm Exp $
+
+# This table lists pledge(2), socket(2), getsockopt(2), and setsockopt(2)
+# calls with their expected outcome. The constants are compiled into
+# the sockopt.c program using the C preprocessor. For each line the
+# program is built and run. The test checks the ktrace output and
+# core file.
# promises domain type protocol call level optname optval errno abort
TESTS = inet AF_INET SOCK_STREAM IPPROTO_TCP get SOL_SOCKET SO_ERROR 0 0 0 \