summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-04-12 11:55:41 +0000
committerbluhm <bluhm@openbsd.org>2017-04-12 11:55:41 +0000
commitd3916429bd59452c3ceefa17e64ddbc91541e7fd (patch)
treeb98df2581fe96cd6ffcbbf7c08366e4a1fc6742c
parentexplicitly set the ownership on installed include files as well (diff)
downloadwireguard-openbsd-d3916429bd59452c3ceefa17e64ddbc91541e7fd.tar.xz
wireguard-openbsd-d3916429bd59452c3ceefa17e64ddbc91541e7fd.zip
Add comment how the test works.
-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 \