#
314818 |
|
07-Mar-2017 |
ngie |
MFC r313439,r314450:
r313439:
Merge content from ^/projects/netbsd-tests-upstream-01-2017 into ^/head
The primary end-goal of this drop is ease future merges with NetBSD and collaborate further with the NetBSD project.
The goal was (largely, not completely as some items are still oustanding in the NetBSD GNATS system) achieved by doing the following: - Pushing as many changes required to port contrib/netbsd-tests back to NetBSD as possible, then pull the upstream applied changes back in to FreeBSD. - Diff reduce with upstream where possible by: -- Improving libnetbsd header, etc compat glue. -- Using _SED variables to modify test scripts on the fly for items that could not be upstreamed to NetBSD.
As a bonus for this work, this change also introduces testcases for uniq(1).
Many thanks to Christos for working with me to get many of the changes back into the NetBSD project.
In collaboration with: Christos Zoulas <christos@netbsd.org>
r314450:
Add additional __FreeBSD_version guards around the hsearch_r testcases
The reasoning for this is the same as r276046: to ease MFCing the tests to ^/stable/10 .
This was accidentally missed in r313439
|
#
313227 |
|
04-Feb-2017 |
ngie |
MFC r311925,r311968,r311969,r312102,r312108:
r311925:
Import testcase updates with code contributed back to NetBSD
This also (inadvertently) contains an update to contrib/netbsd-tests/lib/libc/sys/t_wait.c (new testcases).
In collaboration with: christos@NetBSD.org
r311968:
Fix lib/libc/sys/access_test after r311925
sys/param.h needs to be #included in order for __FreeBSD_version to be checked
r311969:
Remove __HAVE_LONG_DOUBLE #define from t_strtod.c and place it in Makefile
This is to enable support in other testcases
Inspired by lib/msun/tests/Makefile .
r312102:
Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD
r312108:
Delete trailing whitespace and use __arraycount instead of nitems in contrib code
|
#
311618 |
|
07-Jan-2017 |
ngie |
MFC r311250:
mincore_resid: free buf after use
CID: 978304
|
#
310506 |
|
24-Dec-2016 |
ngie |
MFC r309837:
Change the process limits for RLIMIT_MEMLOCK to RLIM_INFINITY when executing :mincore_resid
The default process limits in FreeBSD is 64kB for unprivileged users, which empirically is too low to run the :mincore_resid testcase.
Process limits are inherited, so even though the default limit for root users is RLIM_INFINITY, the inherited limit with "sudo" with the default login.conf will be 64kB.
Use setrlimit to set rlim_max for RLIMIT_MEMLOCK to RLIM_INFINITY to avoid ENOMEM issues when calling mlock to wire the mmap'ed address space.
setrlimit requires root access to increase rlim_max, so require root privileges when running the test
Discovered when executing the tests with sudo, e.g. "sudo kyua test -k /usr/tests/lib/libc/sys/Kyuafile mincore_test"
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
294899 |
|
27-Jan-2016 |
ngie |
Add debug output via ATF_REQUIRE_MSG when the first call to mlock(2) fails
This helps identify the problem with running this test on my VM hosts (ENOMEM)
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
#
274142 |
|
05-Nov-2014 |
ngie |
Remove expected failure from lib.libc.sys.t_mincore:mincore_resid
The failure was added based on observation seen on 11.0-CURRENT @ r273153, not based on internal testing at EMC/Isilon
PR: 194829 Tested with the following configuration: - amd64/i386 - 11.0-CURRENT @ r273153 - 100 times in a tight loop as root with the following commands... -- kyua test lib/libc -- kyua test lib/libc/sys -- kyua test lib/libc/sys/mincore_test
|
#
273945 |
|
01-Nov-2014 |
ngie |
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 the year to September/October on FreeBSD, at least)
Submitted by: pho
|
#
272458 |
|
02-Oct-2014 |
ngie |
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 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
|
#
272345 |
|
01-Oct-2014 |
ngie |
Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist
Sponsored by: EMC / Isilon Storage Division
|
#
272343 |
|
01-Oct-2014 |
ngie |
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/.
'*CVS*' has been added to svn:ignore to ease updating periodically from upstream
Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort
Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
294899 |
|
27-Jan-2016 |
ngie |
Add debug output via ATF_REQUIRE_MSG when the first call to mlock(2) fails
This helps identify the problem with running this test on my VM hosts (ENOMEM)
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
#
274142 |
|
05-Nov-2014 |
ngie |
Remove expected failure from lib.libc.sys.t_mincore:mincore_resid
The failure was added based on observation seen on 11.0-CURRENT @ r273153, not based on internal testing at EMC/Isilon
PR: 194829 Tested with the following configuration: - amd64/i386 - 11.0-CURRENT @ r273153 - 100 times in a tight loop as root with the following commands... -- kyua test lib/libc -- kyua test lib/libc/sys -- kyua test lib/libc/sys/mincore_test
|
#
273945 |
|
01-Nov-2014 |
ngie |
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 the year to September/October on FreeBSD, at least)
Submitted by: pho
|
#
272458 |
|
02-Oct-2014 |
ngie |
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , 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
|
#
272345 |
|
01-Oct-2014 |
ngie |
Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist
Sponsored by: EMC / Isilon Storage Division
|
#
272343 |
|
01-Oct-2014 |
ngie |
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/.
'*CVS*' has been added to svn:ignore to ease updating periodically from upstream
Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort
Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|