diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-01-21 17:02:38 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-01-21 17:02:38 +0000 |
commit | e06a99a0e8efbeee56850744cd80247b373a4496 (patch) | |
tree | 4408489c37b6ed0507ba57b4354787efa2798f83 /regress/sys/kern | |
parent | d63849e3d996060da1a4ffc546d6fe0395acfcfd (diff) |
Pledge violation for SO_RTABLE prints "wroute" now. Adapt test.
Diffstat (limited to 'regress/sys/kern')
-rw-r--r-- | regress/sys/kern/pledge/sockopt/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/sys/kern/pledge/sockopt/Makefile b/regress/sys/kern/pledge/sockopt/Makefile index df98cad0054..2d8248d4d4c 100644 --- a/regress/sys/kern/pledge/sockopt/Makefile +++ b/regress/sys/kern/pledge/sockopt/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2020/04/01 15:26:53 claudio Exp $ +# $OpenBSD: Makefile,v 1.6 2021/01/21 17:02:37 bluhm Exp $ # This table lists pledge(2), socket(2), getsockopt(2), and setsockopt(2) # calls with their expected outcome. The constants are compiled into @@ -12,7 +12,7 @@ TESTS = inet AF_INET SOCK_STREAM IPPROTO_TCP get SOL_SOCKET SO_ERROR 0 0 0 \ inet AF_INET SOCK_DGRAM IPPROTO_UDP set SOL_SOCKET SO_RCVBUF 10000 0 0 \ unix AF_LOCAL SOCK_STREAM 0 set SOL_SOCKET SO_RCVBUF 10000 0 0 \ inet AF_INET SOCK_STREAM IPPROTO_TCP get SOL_SOCKET SO_TIMESTAMP 0 0 0 \ - inet AF_INET SOCK_STREAM IPPROTO_TCP set SOL_SOCKET SO_RTABLE 0 22 inet \ + inet AF_INET SOCK_STREAM IPPROTO_TCP set SOL_SOCKET SO_RTABLE 0 22 wroute \ 0 AF_INET SOCK_STREAM IPPROTO_TCP set SOL_SOCKET SO_RTABLE 0 0 0 \ inet AF_INET SOCK_STREAM IPPROTO_TCP set IPPROTO_TCP TCP_NODELAY 0 0 0 \ inet AF_INET SOCK_DGRAM IPPROTO_UDP get IPPROTO_IP IP_OPTIONS 0 0 0 \ @@ -36,11 +36,10 @@ TESTS = inet AF_INET SOCK_STREAM IPPROTO_TCP get SOL_SOCKET SO_ERROR 0 0 0 \ WARNINGS = yes CLEANFILES = sockopt sockopt.o ktrace.out -REGRESS_TARGETS = .for promises domain type protocol call level optname optval errno abort in ${TESTS} -REGRESS_TARGETS += run-regress-${promises}-${domain}-${type}-${protocol}-${call}-${level}-${optname}-${optval}-${errno}-${abort} -run-regress-${promises}-${domain}-${type}-${protocol}-${call}-${level}-${optname}-${optval}-${errno}-${abort}: +REGRESS_TARGETS += run-${promises}-${domain}-${type}-${protocol}-${call}-${level}-${optname}-${optval}-${errno}-${abort} +run-${promises}-${domain}-${type}-${protocol}-${call}-${level}-${optname}-${optval}-${errno}-${abort}: @echo "\n$@" rm -f sockopt sockopt.core cd ${.CURDIR} && \ |