summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Test for EINVAL requirement when passing an invalid flag in to msync(2)ngie2014-10-241-0/+11
| | | | | | | | - Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is alwaysngie2014-10-241-0/+10
| | | | | | | | executed on a non-devfs filesystem - Expect mknod(path, S_IFREG, 0) to fail on FreeBSD Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Omit the mprotect_exec testcase on FreeBSDngie2014-10-231-0/+6
| | | | Sponsored by: EMC / Isilon Storage Division
* Mark signum __unusedngie2014-10-231-0/+8
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix a typo (__FreeBSD__ -> __NetBSD__ when omitting setrlimit_nthr)ngie2014-10-231-1/+1
|
* Add limits.h #include for SSIZE_MAXngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Add limits.h #include for SSIZE_MAXngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* - Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al)ngie2014-10-231-0/+10
| | | | | | | | - Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t on FreeBSD) In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* - Mark sig/signo __unusedngie2014-10-231-0/+12
| | | | | | - Do not provide a relative path via #include "h_macros.h" Sponsored by: EMC / Isilon Storage Division
* Use <atf_srcdir>/truncate_test.root_owned instead of /usr/bin/fpr as fpr doesngie2014-10-231-0/+13
| | | | | | | | | not exist on FreeBSD truncate_test.root_owned will be generated at build time and owned by root In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* Add limits.h #include for INT_MAXngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Mark signo __unused in handler(..)ngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Omit all of the testcases as revoke(2) is only implemented on devfs(5)ngie2014-10-231-0/+9
| | | | | Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Omit the pollts testcases on FreeBSDngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Port t_mmap.c to FreeBSDngie2014-10-231-0/+19
| | | | | | | | | - Add needed headers for the testcases - Omit mmap_block on non-NetBSD OSes - Use "security.bsd.map_at_zero" instead of "vm.user_va0_disable" Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Add sys/socket.h #include for struct sockaddr_inngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Add limits.h #include for LINE_MAXngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* - Mark unused parameters __unused in handlerngie2014-10-231-0/+12
| | | | | | | | - Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only be valid on NetBSD In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)"ngie2014-10-231-0/+4
| | | | | Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Port t_pipe2.c to FreeBSDngie2014-10-231-0/+22
| | | | | | | | | | - Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert "fcntl(n, F_CLOSEM)" to "closefrom(n)". - Save and restore the resource limit on the number of files (RLIMIT_NOFILE). In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* Expect getgroups_err to fail on FreeBSDngie2014-10-231-0/+3
| | | | | | PR: 189941 Submitted by: pho Sponsored by: EMC / Isilon Storage Division
* Add netinet/in.h for struct sockaddr_inngie2014-10-231-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Add sys/socket.h #include for bind(2), et alngie2014-10-211-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Port t_chroot to FreeBSDngie2014-10-211-0/+8
| | | | | | | - Add missing #include sys/stat.h for mkdir(2) - Omit the fchroot(2) tests because the support is not present on FreeBSD Sponsored by: EMC / Isilon Storage Division
* unlink("/") fails with EISDIR instead of EBUSY on FreeBSD; test for thatngie2014-10-211-0/+4
| | | | | | instead Sponsored by: EMC / Isilon Storage Division
* Mark osi __unused so this compiles cleanly on FreeBSDngie2014-10-211-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Port t_write to FreeBSDngie2014-10-211-0/+10
| | | | | | | | - Mark the signo variable for the signal handle __unused - Use limits.h instead of sys/syslimits.h (the latter does not exist on FreeBSD) Sponsored by: EMC / Isilon Storage Division
* Add missing #include for sys/stat.h for fchmodngie2014-10-211-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 ,ngie2014-10-0257-0/+12488
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud