Auto merge of #708 - wezm:remove-missing-openbsd-constants, r=alexcrichton
Add KERN_USERMOUNT and KERN_ARND to don't check list on OpenBSD
These [two constants are no longer in OpenBSD](3f376b0849/sys/sys/sysctl.h (L133-L140)
). They were preventing the the tests from passing. With this change the test now pass:
```
CC=egcc cargo run
Compiling libc v0.2.29 (file:///home/vagrant/libc)
Compiling libc-test v0.1.0 (file:///home/vagrant/libc/libc-test)
Finished debug [unoptimized + debuginfo] target(s) in 11.7 secs
Running `/home/vagrant/libc/target/debug/libc-test`
RUNNING ALL TESTS
PASSED 5935 tests
```
They are still present in bitrig so I moved them there.
This commit is contained in:
commit
0dae0e75bd
@ -434,6 +434,11 @@ fn main() {
|
||||
"KERN_KDENABLE_BG_TRACE" if apple => true,
|
||||
"KERN_KDDISABLE_BG_TRACE" if apple => true,
|
||||
|
||||
// These constants were removed in OpenBSD 6 (https://git.io/v7gBO
|
||||
// https://git.io/v7gBq)
|
||||
"KERN_USERMOUNT" |
|
||||
"KERN_ARND" if openbsd => true,
|
||||
|
||||
// These are either unimplemented or optionally built into uClibc
|
||||
"LC_CTYPE_MASK" | "LC_NUMERIC_MASK" | "LC_TIME_MASK" | "LC_COLLATE_MASK" | "LC_MONETARY_MASK" | "LC_MESSAGES_MASK" |
|
||||
"MADV_MERGEABLE" | "MADV_UNMERGEABLE" | "MADV_HWPOISON" | "IPV6_ADD_MEMBERSHIP" | "IPV6_DROP_MEMBERSHIP" | "IPV6_MULTICAST_LOOP" | "IPV6_V6ONLY" |
|
||||
|
Loading…
Reference in New Issue
Block a user