svn commit: r274052 - head/tests/lib

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 15:40:49 2014 New Revision: 274052 URL: https://svnweb.freebsd.org/changeset/base/274052 Log: Remove unused tests/lib directory MFC after: 1 week Deleted: head/tests/lib/ ___ svn-src-head@freebsd.org mailing list

svn commit: r274061 - head/contrib/netbsd-tests/lib/libc/db

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 21:21:08 2014 New Revision: 274061 URL: https://svnweb.freebsd.org/changeset/base/274061 Log: Port t_db.sh to FreeBSD - The blocksize on FreeBSD is 32kB, not 64kB - Add some detection for MK_DICT == no; /nonexistent is echoed along with atf_skip to

svn commit: r274066 - head/contrib/netbsd-tests/lib/libc/ssp

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 23:36:41 2014 New Revision: 274066 URL: https://svnweb.freebsd.org/changeset/base/274066 Log: Port lib/libc/ssp to FreeBSD In most cases, the buffers and data were resized, but when dealing with the helpers, some of the code was adjusted to fail more

svn commit: r274067 - head/contrib/netbsd-tests/lib/libc/rpc

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 23:37:51 2014 New Revision: 274067 URL: https://svnweb.freebsd.org/changeset/base/274067 Log: rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private like NetBSD Submitted by: pho Modified:

svn commit: r274072 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 00:04:36 2014 New Revision: 274072 URL: https://svnweb.freebsd.org/changeset/base/274072 Log: Finish off lib/libc/stdlib/t_strtod.c port by checking for y twice on FreeBSD, and always assume long long double exists on FreeBSD Submitted by: pho Modified:

Re: svn commit: r274072 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-11-03 Thread Garrett Cooper
On Nov 3, 2014, at 16:04, Garrett Cooper n...@freebsd.org wrote: Author: ngie Date: Tue Nov 4 00:04:36 2014 New Revision: 274072 URL: https://svnweb.freebsd.org/changeset/base/274072 Log: Finish off lib/libc/stdlib/t_strtod.c port by checking for y twice on FreeBSD, and always assume

svn commit: r274074 - head/share/mk

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 00:19:10 2014 New Revision: 274074 URL: https://svnweb.freebsd.org/changeset/base/274074 Log: Add Makefile snippet to ease porting NetBSD testcases to FreeBSD from contrib/netbsd-tests This Makefile snippet handles polluting testcases with -lnetbsd, specific

svn commit: r274075 - in head: etc/mtree lib/libc lib/libc/tests lib/libc/tests/c063 lib/libc/tests/db lib/libc/tests/gen lib/libc/tests/gen/execve lib/libc/tests/gen/posix_spawn lib/libc/tests/has...

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 00:56:25 2014 New Revision: 274075 URL: https://svnweb.freebsd.org/changeset/base/274075 Log: Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 500 new testcases Various TODOs have been sprinkled around the Makefiles for

svn commit: r274077 - head/share/mk

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 01:57:31 2014 New Revision: 274077 URL: https://svnweb.freebsd.org/changeset/base/274077 Log: As an optimization (in simple, well used cases) only call cat ${.ALLSRC} when generating files from various sources instead of calling cat ${.ALLSRC} | sed The perl

svn commit: r274078 - head/lib/libnetbsd/sys

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 02:00:07 2014 New Revision: 274078 URL: https://svnweb.freebsd.org/changeset/base/274078 Log: Commit missing header for sys/time.h compat on NetBSD to unbreak the amd64/i386 build Pointyhat to: me (forgot to svn add it sooner) Added:

svn commit: r274079 - in head: contrib/netbsd-tests/include contrib/netbsd-tests/lib/libc/gen contrib/netbsd-tests/lib/libc/stdlib contrib/netbsd-tests/lib/libc/sys contrib/netbsd-tests/lib/libc/ti...

2014-11-03 Thread Garrett Cooper
Author: ngie Date: Tue Nov 4 05:02:22 2014 New Revision: 274079 URL: https://svnweb.freebsd.org/changeset/base/274079 Log: Import proper fix for misc/49356 (/usr/include/atf-c/config.h) after atf-c/config.h was removed from the build Pointyhat to: me (again, for not running make

svn commit: r274011 - head/usr.sbin/pw/tests

2014-11-02 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 06:07:55 2014 New Revision: 274011 URL: https://svnweb.freebsd.org/changeset/base/274011 Log: Integrate usr.sbin/useradd/t_useradd.sh from NetBSD into FreeBSD as pw_test - Suffix useradd/userdel commands with pw - Remove the atf_expect_fail for bin/39546

svn commit: r274016 - in head: . etc/mtree share/doc share/doc/pjdfstest tests/sys tests/sys/pjdfstest tests/sys/pjdfstest/pjdfstest tests/sys/pjdfstest/tests tests/sys/pjdfstest/tests/chflags test...

2014-11-02 Thread Garrett Cooper
Author: ngie Date: Mon Nov 3 07:18:42 2014 New Revision: 274016 URL: https://svnweb.freebsd.org/changeset/base/274016 Log: Integrate pjdfstest test suite execution into kyua pjdfstest execution is opt-in and must be done as root due to some of the assumptions made by the test suite and

Re: svn commit: r274016 - in head: . etc/mtree share/doc share/doc/pjdfstest tests/sys tests/sys/pjdfstest tests/sys/pjdfstest/pjdfstest tests/sys/pjdfstest/tests tests/sys/pjdfstest/tests/chflags tes

2014-11-02 Thread Garrett Cooper
On Nov 2, 2014, at 23:18, Garrett Cooper n...@freebsd.org wrote: Author: ngie Date: Mon Nov 3 07:18:42 2014 New Revision: 274016 URL: https://svnweb.freebsd.org/changeset/base/274016 Log: Integrate pjdfstest test suite execution into kyua pjdfstest execution is opt-in and must

svn commit: r273933 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:09:39 2014 New Revision: 273933 URL: https://svnweb.freebsd.org/changeset/base/273933 Log: Don't prune duplicate services in the expected output from /etc/services on FreeBSD Submitted by: pho Modified:

svn commit: r273935 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:13:13 2014 New Revision: 273935 URL: https://svnweb.freebsd.org/changeset/base/273935 Log: Port tests to FreeBSD/Linux Some of the testcases don't work outside of NetBSD, and the behavior of ether_aton_r differs between FreeBSD, Linux, and NetBSD, and the

svn commit: r273936 - head/contrib/netbsd-tests/lib/libc/net

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:14:29 2014 New Revision: 273936 URL: https://svnweb.freebsd.org/changeset/base/273936 Log: Port lib/libc/net/h_dns_server to FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/net/h_dns_server.c Modified:

svn commit: r273937 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:19:43 2014 New Revision: 273937 URL: https://svnweb.freebsd.org/changeset/base/273937 Log: Port lib/libc/sys/t_dup to FreeBSD/Linux - The requirements differ between FreeBSD/Linux when dealing with oldd/newd being equal (both fail with EINVAL, not

svn commit: r273938 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 17:22:53 2014 New Revision: 273938 URL: https://svnweb.freebsd.org/changeset/base/273938 Log: getitimer on FreeBSD returns the last set time instead of the remaining time; test for that instead Submitted by: pho Modified:

svn commit: r273942 - head/contrib/netbsd-tests/lib/libc/gen

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:33:42 2014 New Revision: 273942 URL: https://svnweb.freebsd.org/changeset/base/273942 Log: Skip :sethostname_basic because it messes up the test host's hostname Convert code from #if defined(__FreeBSD__) to #ifdef __FreeBSD__ Modified:

svn commit: r273943 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:41:40 2014 New Revision: 273943 URL: https://svnweb.freebsd.org/changeset/base/273943 Log: Port t_kevent to FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c Modified: head/contrib/netbsd-tests/lib/libc/sys/t_kevent.c

svn commit: r273945 - head/contrib/netbsd-tests/lib/libc/sys

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:45:45 2014 New Revision: 273945 URL: https://svnweb.freebsd.org/changeset/base/273945 Log: Port t_mincore to FreeBSD Mark :mincore_resid as atf_tc_expect_fail on FreeBSD because of new bug discovered in running the tests (it succeeded from earlier on in

svn commit: r273946 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 20:50:39 2014 New Revision: 273946 URL: https://svnweb.freebsd.org/changeset/base/273946 Log: Port h_atexit to FreeBSD __cxa_atexit varies between FreeBSD and NetBSD, and thus we must use pointers instead of static fields in the BSS. More extensive

svn commit: r273947 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:00:40 2014 New Revision: 273947 URL: https://svnweb.freebsd.org/changeset/base/273947 Log: Expect :snprintf_posarg_error to blow up with a SIGSEGV on !NetBSD OSes Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_printf.c Modified:

svn commit: r273948 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:21:06 2014 New Revision: 273948 URL: https://svnweb.freebsd.org/changeset/base/273948 Log: Disable testcases 12 and 15-22 on FreeBSD Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fmemopen.c Modified:

svn commit: r273949 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:23:27 2014 New Revision: 273949 URL: https://svnweb.freebsd.org/changeset/base/273949 Log: Add new atf_tc_expect_fail to fflush_err; this is a new (within the past couple months) bug Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fflush.c Modified:

svn commit: r273950 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:25:22 2014 New Revision: 273950 URL: https://svnweb.freebsd.org/changeset/base/273950 Log: Skip :fopen_regular on !NetBSD because it's a NetBSD specific test Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Modified:

svn commit: r273951 - head/contrib/netbsd-tests/lib/libc/stdio

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 21:30:18 2014 New Revision: 273951 URL: https://svnweb.freebsd.org/changeset/base/273951 Log: Expect :sscanf_whitespace to fail on !NetBSD OSes Submitted by: pho Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_scanf.c Modified:

svn commit: r273952 - head/contrib/netbsd-tests/lib/libc/hash

2014-11-01 Thread Garrett Cooper
Author: ngie Date: Sat Nov 1 22:00:46 2014 New Revision: 273952 URL: https://svnweb.freebsd.org/changeset/base/273952 Log: Port h_hash and t_sha2 to FreeBSD t_sha2 contains dirty copy-paste hacks that need to be fixed with the openssh OpenBSD compat layer Submitted by: pho

Re: svn commit: r273872 - in head: etc/defaults etc/rc.d libexec/save-entropy share/examples/kld/random_adaptor sys/conf sys/dev/glxsb sys/dev/random sys/kern sys/modules sys/modules/padlock_rng sys/m

2014-10-31 Thread Garrett Cooper
On Oct 30, 2014, at 14:21, Mark Murray ma...@freebsd.org wrote: Author: markm Date: Thu Oct 30 21:21:53 2014 New Revision: 273872 URL: https://svnweb.freebsd.org/changeset/base/273872 Log: This is the much-discussed major upgrade to the random(4) device, known to you all as

Re: svn commit: r273734 - head/bin/dd

2014-10-31 Thread Garrett Cooper
On Oct 28, 2014, at 4:33, Bruce Evans b...@optusnet.com.au wrote: On Tue, 28 Oct 2014, [utf-8] Dag-Erling Smørgrav wrote: Bruce Evans b...@optusnet.com.au writes: Dag-Erling Smørgrav d...@des.no writes: This is a bug on all platforms, and both clang and (recent) gcc should complain about

Re: svn commit: r273919 - head/etc/rc.d

2014-10-31 Thread Garrett Cooper
On Oct 31, 2014, at 17:51, Dag-Erling Smørgrav d...@des.no wrote: Xin LI delp...@freebsd.org writes: Log: rc.d/geli should not depend on random, as the attach functionality do not require additional entropy to function. It would create a circular dependency (not immediately obvious:

Re: svn commit: r273866 - head/sys/sys

2014-10-30 Thread Garrett Cooper
On Oct 30, 2014, at 09:26, Josh Paetzel jpaet...@freebsd.org wrote: Author: jpaetzel Date: Thu Oct 30 16:26:17 2014 New Revision: 273866 URL: https://svnweb.freebsd.org/changeset/base/273866 Log: Plug memory ordering holes in buf_ring_enqueue. For at least some users this patch

svn commit: r273803 - head/share/mk

2014-10-28 Thread Garrett Cooper
Author: ngie Date: Tue Oct 28 23:01:09 2014 New Revision: 273803 URL: https://svnweb.freebsd.org/changeset/base/273803 Log: Filter out TESTS_SUBDIRS already added to SUBDIR instead of blindly appending the TESTS_SUBDIRS variable to SUBDIR Duplicate directory entries can cause unexpected

Re: svn commit: r273802 - in head/bin/sh: . tests/parameters

2014-10-28 Thread Garrett Cooper
On Oct 28, 2014, at 19:17, Craig Rodrigues rodr...@freebsd.org wrote: Hi, The tests started failing after this commit. Can you take a look? https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-tests2/143/console Hi Craig, It’s my fault with not fully testing out the fix in

svn commit: r273810 - head/share/mk

2014-10-28 Thread Garrett Cooper
Author: ngie Date: Wed Oct 29 04:32:46 2014 New Revision: 273810 URL: https://svnweb.freebsd.org/changeset/base/273810 Log: Fix the logic inversion in the previous commit by ensuring that the matched expression (:M) is empty, not the not matched (:N) is empty. The former case means we have

Re: svn commit: r273802 - in head/bin/sh: . tests/parameters

2014-10-28 Thread Garrett Cooper
On Oct 28, 2014, at 21:00, Garrett Cooper yaneurab...@gmail.com wrote: On Oct 28, 2014, at 19:17, Craig Rodrigues rodr...@freebsd.org wrote: Hi, The tests started failing after this commit. Can you take a look? https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-tests2/143/console

svn commit: r273630 - head/tools/regression/zfs/zpool/add

2014-10-25 Thread Garrett Cooper
Author: ngie Date: Sat Oct 25 06:10:01 2014 New Revision: 273630 URL: https://svnweb.freebsd.org/changeset/base/273630 Log: Bail out of the script on FreeBSD due to deterministic panic issue PR: 191573 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273632 - head/tools/regression/zfs/zpool/add

2014-10-25 Thread Garrett Cooper
Author: ngie Date: Sat Oct 25 06:33:00 2014 New Revision: 273632 URL: https://svnweb.freebsd.org/changeset/base/273632 Log: Bail out of the script on FreeBSD due to deterministic panic issue PR: 194587 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273633 - head/tools/regression/zfs/zpool/create

2014-10-25 Thread Garrett Cooper
Author: ngie Date: Sat Oct 25 07:20:46 2014 New Revision: 273633 URL: https://svnweb.freebsd.org/changeset/base/273633 Log: Bail out of the script on FreeBSD due to deterministic panic issue PR: 194589 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273578 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 06:53:06 2014 New Revision: 273578 URL: https://svnweb.freebsd.org/changeset/base/273578 Log: - Add inttypes.h and stdint.h in lieu of int_limits.h from NetBSD - Use #include h_macros.h instead of relative path analog Sponsored by: EMC / Isilon Storage

svn commit: r273579 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 06:57:16 2014 New Revision: 273579 URL: https://svnweb.freebsd.org/changeset/base/273579 Log: - Mark signo __unused in the signal handler function - Effectively #if 0 out some code that does not fail on FreeBSD In collaboration with: pho Sponsored by: EMC

svn commit: r273591 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 16:07:31 2014 New Revision: 273591 URL: https://svnweb.freebsd.org/changeset/base/273591 Log: Correct my previous commit: - getrusage_utime_back succeeds reliably on FreeBSD - getrusage_utime_zero passes/fails in a seemingly non-deterministic manner.

svn commit: r273592 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 16:18:16 2014 New Revision: 273592 URL: https://svnweb.freebsd.org/changeset/base/273592 Log: - Add sys/types.h for the APIs in sys/sysctl.h - Poke at VM_MIN_ADDRESS in machine/vmparam.h because FreeBSD doesn't have a vm.minaddress sysctl analog - Expect

svn commit: r273627 - head/tools/regression/zfs

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 25 04:52:48 2014 New Revision: 273627 URL: https://svnweb.freebsd.org/changeset/base/273627 Log: - Print out Bail out! in die(..) so prove terminates immediately - Handle the output from newer versions of openssl md5, similar to what pjd@ did in r248304 MFC

svn commit: r273628 - head/tools/regression/zfs

2014-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 25 05:31:18 2014 New Revision: 273628 URL: https://svnweb.freebsd.org/changeset/base/273628 Log: Move the redirection to stderr out of the cmd variable assignment Putting 2/dev/null in cmd= escapes the redirection operation, which causes mdconfig to think it's

svn commit: r273520 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:18:28 2014 New Revision: 273520 URL: https://svnweb.freebsd.org/changeset/base/273520 Log: Port t_pipe2.c to FreeBSD - Omit the pipe2_nosigpipe testcase on FreeBSD (FreeBSD doesn't have O_NOSIGPIPE). - Convert fcntl(n, F_CLOSEM) to closefrom(n). -

svn commit: r273521 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:21:10 2014 New Revision: 273521 URL: https://svnweb.freebsd.org/changeset/base/273521 Log: Convert fcntl(n, F_CLOSEM) to closefrom(n) Submitted by: pho Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273522 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:24:36 2014 New Revision: 273522 URL: https://svnweb.freebsd.org/changeset/base/273522 Log: - Mark unused parameters __unused in handler - Call sigqueue with getpid() instead of 0 -- the latter idiom appears to only be valid on NetBSD In collaboration

svn commit: r273523 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:25:52 2014 New Revision: 273523 URL: https://svnweb.freebsd.org/changeset/base/273523 Log: Add limits.h #include for LINE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_link.c Modified:

svn commit: r273524 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:35:19 2014 New Revision: 273524 URL: https://svnweb.freebsd.org/changeset/base/273524 Log: Add sys/socket.h #include for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_listen.c Modified:

svn commit: r273525 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 06:42:53 2014 New Revision: 273525 URL: https://svnweb.freebsd.org/changeset/base/273525 Log: Port t_mmap.c to FreeBSD - 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

svn commit: r273526 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:05:14 2014 New Revision: 273526 URL: https://svnweb.freebsd.org/changeset/base/273526 Log: Omit the pollts testcases on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_poll.c Modified:

svn commit: r273527 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:07:35 2014 New Revision: 273527 URL: https://svnweb.freebsd.org/changeset/base/273527 Log: Omit all of the testcases as revoke(2) is only implemented on devfs(5) Submitted by: pho Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273528 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:11:58 2014 New Revision: 273528 URL: https://svnweb.freebsd.org/changeset/base/273528 Log: Mark signo __unused in handler(..) Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_nanosleep.c Modified:

svn commit: r273529 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:20:35 2014 New Revision: 273529 URL: https://svnweb.freebsd.org/changeset/base/273529 Log: - Omit the poll testcases on FreeBSD (they require pollts) - Add necessary headers for the testcases Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273530 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:22:18 2014 New Revision: 273530 URL: https://svnweb.freebsd.org/changeset/base/273530 Log: Add limits.h #include for INT_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgctl.c Modified:

svn commit: r273533 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:54:46 2014 New Revision: 273533 URL: https://svnweb.freebsd.org/changeset/base/273533 Log: Use atf_srcdir/truncate_test.root_owned instead of /usr/bin/fpr as fpr does not exist on FreeBSD truncate_test.root_owned will be generated at build time and owned

svn commit: r273534 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 07:59:59 2014 New Revision: 273534 URL: https://svnweb.freebsd.org/changeset/base/273534 Log: - Mark sig/signo __unused - Do not provide a relative path via #include h_macros.h Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273535 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:05:03 2014 New Revision: 273535 URL: https://svnweb.freebsd.org/changeset/base/273535 Log: - Omit setrlimit_nthr testcase on FreeBSD (requires lwp.h, et al) - Expect overflow with rlim_max at INT64_MAX, not UINT64_MAX (rlim_t is int64_t on FreeBSD) In

svn commit: r273536 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:05:47 2014 New Revision: 273536 URL: https://svnweb.freebsd.org/changeset/base/273536 Log: Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c Modified:

svn commit: r273537 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:06:34 2014 New Revision: 273537 URL: https://svnweb.freebsd.org/changeset/base/273537 Log: Add limits.h #include for SSIZE_MAX Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_msgrcv.c Modified:

svn commit: r273539 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:13:07 2014 New Revision: 273539 URL: https://svnweb.freebsd.org/changeset/base/273539 Log: Mark signum __unused Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_select.c Modified:

svn commit: r273538 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:12:31 2014 New Revision: 273538 URL: https://svnweb.freebsd.org/changeset/base/273538 Log: Fix a typo (__FreeBSD__ - __NetBSD__ when omitting setrlimit_nthr) Modified: head/contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c Modified:

svn commit: r273540 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 08:29:09 2014 New Revision: 273540 URL: https://svnweb.freebsd.org/changeset/base/273540 Log: Omit the mprotect_exec testcase on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_mprotect.c Modified:

svn commit: r273572 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 03:42:37 2014 New Revision: 273572 URL: https://svnweb.freebsd.org/changeset/base/273572 Log: - Ignore EINVAL check with mknod(path, S_IFCHR, -1) as the testcase is always executed on a non-devfs filesystem - Expect mknod(path, S_IFREG, 0) to fail on FreeBSD

svn commit: r273574 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-23 Thread Garrett Cooper
Author: ngie Date: Fri Oct 24 03:53:49 2014 New Revision: 273574 URL: https://svnweb.freebsd.org/changeset/base/273574 Log: - Test for EINVAL requirement when passing an invalid flag in to msync(2) - Expect ENOMEM instead of EFAULT when msync'ing a previously munmap'ed region on FreeBSD

svn commit: r273478 - head/share/mk

2014-10-22 Thread Garrett Cooper
Author: ngie Date: Wed Oct 22 18:11:10 2014 New Revision: 273478 URL: https://svnweb.freebsd.org/changeset/base/273478 Log: Fix linking static test binaries with atf.test.mk Check for -static in LDFLAGS or LDFLAGS.test, then pass in the appropriate dependency (LIBATF or LDATF) This

svn commit: r273482 - in head/lib/libnetbsd: netinet sys

2014-10-22 Thread Garrett Cooper
Author: ngie Date: Wed Oct 22 21:04:54 2014 New Revision: 273482 URL: https://svnweb.freebsd.org/changeset/base/273482 Log: The NetBSD libc tests use several definitions/macros that aren't available in FreeBSD Add the missing compat definitions/macros to lib/libnetbsd so the testcases

svn commit: r273516 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-22 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 05:46:10 2014 New Revision: 273516 URL: https://svnweb.freebsd.org/changeset/base/273516 Log: Add netinet/in.h for struct sockaddr_in Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_stat.c Modified:

svn commit: r273517 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-22 Thread Garrett Cooper
Author: ngie Date: Thu Oct 23 05:58:02 2014 New Revision: 273517 URL: https://svnweb.freebsd.org/changeset/base/273517 Log: Expect getgroups_err to fail on FreeBSD PR: 189941 Submitted by: pho Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273389 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:56:06 2014 New Revision: 273389 URL: https://svnweb.freebsd.org/changeset/base/273389 Log: Port lib/libc/gen/t_siginfo to FreeBSD - mcontext_t on FreeBSD doesn't have a __gregs field (it's split out on FreeBSD into separate fields). In order to avoid

svn commit: r273390 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:57:12 2014 New Revision: 273390 URL: https://svnweb.freebsd.org/changeset/base/273390 Log: libutil.h is required for fparseln on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt.c Modified:

svn commit: r273391 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 17:58:53 2014 New Revision: 273391 URL: https://svnweb.freebsd.org/changeset/base/273391 Log: Add missing #include for sys/stat.h for fchmod Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_access.c Modified:

svn commit: r273393 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:00:55 2014 New Revision: 273393 URL: https://svnweb.freebsd.org/changeset/base/273393 Log: Port t_write to FreeBSD - Mark the signo variable for the signal handle __unused - Use limits.h instead of sys/syslimits.h (the latter does not exist on FreeBSD)

svn commit: r273396 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:06:04 2014 New Revision: 273396 URL: https://svnweb.freebsd.org/changeset/base/273396 Log: unlink(/) fails with EISDIR instead of EBUSY on FreeBSD; test for that instead Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273397 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 18:10:05 2014 New Revision: 273397 URL: https://svnweb.freebsd.org/changeset/base/273397 Log: Port t_chroot to FreeBSD - Add missing #include sys/stat.h for mkdir(2) - Omit the fchroot(2) tests because the support is not present on FreeBSD Sponsored by:

svn commit: r273410 - head/contrib/netbsd-tests/lib/libc/sys

2014-10-21 Thread Garrett Cooper
Author: ngie Date: Tue Oct 21 20:17:05 2014 New Revision: 273410 URL: https://svnweb.freebsd.org/changeset/base/273410 Log: Add sys/socket.h #include for bind(2), et al Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/sys/t_connect.c Modified:

Re: svn commit: r273174 - in head/sys: amd64/amd64 amd64/vmm arm/arm cam/ata cddl/contrib/opensolaris/uts/common/dtrace dev/acpica dev/asmc dev/cfi dev/drm2 dev/hatm dev/mii dev/nfe dev/patm dev/pci d

2014-10-16 Thread Garrett Cooper
BTW, it would be cool if universe will put logs of successful builds and logs of failed builds in different directories for easier inspection. If there's already something like this and you can point me to that, it would be appreciated. I think you want make tinderbox instead of make

svn commit: r272979 - in head/contrib/netbsd-tests/lib/libc: tls tls/dso tls_dso

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 10:04:59 2014 New Revision: 272979 URL: https://svnweb.freebsd.org/changeset/base/272979 Log: Only #include sys/tls.h on NetBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c

svn commit: r272980 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 10:07:26 2014 New Revision: 272980 URL: https://svnweb.freebsd.org/changeset/base/272980 Log: #include libutil.h for fparseln on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c

svn commit: r273010 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:53:13 2014 New Revision: 273010 URL: https://svnweb.freebsd.org/changeset/base/273010 Log: Implement 64MB memory limit for test to ensure that it fails reliably in 600 seconds; it would previously fail inconsistently when run in some virtual machine

svn commit: r273011 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:54:55 2014 New Revision: 273011 URL: https://svnweb.freebsd.org/changeset/base/273011 Log: Fix compilation errors with missing wide-type headers and fix compilation warnings with -Wformat In collaboration with: pho Sponsored by: EMC / Isilon Storage

svn commit: r273012 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:59:23 2014 New Revision: 273012 URL: https://svnweb.freebsd.org/changeset/base/273012 Log: - Add libutil #include for fparseln - Change ATF_REQUIRE_EQ_MSG to ATF_CHECK_EQ_MSG to gather all failing results possible (currently 12 with leftassoc) - Mark

svn commit: r273015 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 23:46:24 2014 New Revision: 273015 URL: https://svnweb.freebsd.org/changeset/base/273015 Log: Expect nice_err to fail on FreeBSD with unprivileged users PR: 189821 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273019 - head/contrib/netbsd-tests/lib/libc/locale

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 01:14:01 2014 New Revision: 273019 URL: https://svnweb.freebsd.org/changeset/base/273019 Log: Do initial port of contrib/netbsd-tests/lib/libc/locale t_io: - Expect failures potentially related to implementation-specific knowledge of the zh_TW.Big5 locale

svn commit: r273020 - head/contrib/netbsd-tests/lib/libc/string

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:23:24 2014 New Revision: 273020 URL: https://svnweb.freebsd.org/changeset/base/273020 Log: memmem with NUL length needle (aka small) strings on FreeBSD/OSX returns NULL instead of the haystack value (aka big) Submitted by: pho Sponsored by: EMC / Isilon

svn commit: r273021 - head/contrib/netbsd-tests/lib/libc/string

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:27:59 2014 New Revision: 273021 URL: https://svnweb.freebsd.org/changeset/base/273021 Log: Use 1 as a random seed, as recommended in srandom(3). Adjust the random values accordingly Submitted by: pho Sponsored by: EMC / Isilon Storage Division

svn commit: r273023 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:32:37 2014 New Revision: 273023 URL: https://svnweb.freebsd.org/changeset/base/273023 Log: __isnanl is automatically picked according to data type in math.h. There isn't a need for the explicit __isnanl test Sponsored by: EMC / Isilon Storage Division

svn commit: r273024 - head/contrib/netbsd-tests/lib/libc/time

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:44:35 2014 New Revision: 273024 URL: https://svnweb.freebsd.org/changeset/base/273024 Log: Only test the return value in mktime_negyear Testing for the errno is an optional requirement according to POSIX, and FreeBSD doesn't document that errno would be

svn commit: r273025 - head/contrib/netbsd-tests/lib/libc/time

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 03:55:47 2014 New Revision: 273025 URL: https://svnweb.freebsd.org/changeset/base/273025 Log: Change ATF_REQUIRE_MSG calls to ATF_CHECK_MSG to get as many errors as possible t_strptime:common.. - Expect the testcase body as a whole to fail. Multiple PRs

svn commit: r272890 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 08:35:16 2014 New Revision: 272890 URL: https://svnweb.freebsd.org/changeset/base/272890 Log: Only build/run hsearch_basic and hsearch_r_basic on NetBSD hdestroy1 is not present on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r272891 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 08:57:55 2014 New Revision: 272891 URL: https://svnweb.freebsd.org/changeset/base/272891 Log: Expect SIGSEGV in lib/libc/stdlib/t_getenv:setenv_basic See bin/189805 for more details In collaboration with: pho Sponsored by: EMC / Isilon Storage Division

svn commit: r272901 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 18:57:39 2014 New Revision: 272901 URL: https://svnweb.freebsd.org/changeset/base/272901 Log: Disable tests that don't pass on FreeBSD due to missing support in humanize_number(3). Bringing in additional revisions from NetBSD's humanize_number(3) will fix the

svn commit: r272902 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 18:59:18 2014 New Revision: 272902 URL: https://svnweb.freebsd.org/changeset/base/272902 Log: Add missing #include sys/time.h for gettimeofday Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/gen/t_time.c Modified:

svn commit: r272903 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 19:02:02 2014 New Revision: 272903 URL: https://svnweb.freebsd.org/changeset/base/272903 Log: FreeBSD returns ENOTTY instead of EBADF in ttyname_r; mark it as an expected failure PR: 191936 In collaboration with: pho Sponsored by: EMC / Isilon Storage

svn commit: r272905 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 19:18:52 2014 New Revision: 272905 URL: https://svnweb.freebsd.org/changeset/base/272905 Log: FreeBSD doesn't support strings greater than MAXHOSTNAMELEN-1 in {get,set}{domain,host}name. Adjust the tests to not exceed that value when testing out the code

svn commit: r272908 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 19:28:57 2014 New Revision: 272908 URL: https://svnweb.freebsd.org/changeset/base/272908 Log: Disable the invalid pointer test on FreeBSD FreeBSD segfaults on invalid pointers passed to getcwd because it throbs the address passed in in libc, whereas NetBSD

svn commit: r272909 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 19:32:53 2014 New Revision: 272909 URL: https://svnweb.freebsd.org/changeset/base/272909 Log: Handle getting/setting niceness/priority correctly on FreeBSD vs NetBSD This might be fallout from PR: 189821 Submitted by: pho Sponsored by: EMC / Isilon

svn commit: r272910 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-10 Thread Garrett Cooper
Author: ngie Date: Fri Oct 10 19:34:19 2014 New Revision: 272910 URL: https://svnweb.freebsd.org/changeset/base/272910 Log: SIGPWR does not exist on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/gen/t_raise.c Modified:

<    5   6   7   8   9   10   11   12   13   14   >