337491 |
08-Aug-2018 |
bdrewery |
MFC r321333:
Properly set userid for truncate_test. |
324505 |
10-Oct-2017 |
pfg |
MFC r322368, r322371: fnmatch(3): improve POSIX conformance.
In a recent interpretation[1], "\\" shall return a non-zero value (indicating either no match or an error).
The fix involves a change over r254091 and now the behavior matches the Sun/IBM/HP closed source implementations and also likely musl libc.
Submitted by: Joerg Schilling <joerg at schily.net>
[1] http://austingroupbugs.net/view.php?id=806 |
321878 |
01-Aug-2017 |
asomers |
MFC r320737, r320914
r320737: Fix cleanup in lib/libc/gen/setdomainname_test
ATF cleanup routines run in separate processes from the tests themselves, so they can't share global variables.
Also, setdomainname_test needs to be is_exclusive because the test cases access a global resource.
PR: 219967 Reviewed by: ngie Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D11188
r320914: Remove an extraneous strlen from t_setdomainname.c
Reported by: Coverity CID: 1377568 X-MFC-With: 320737 Sponsored by: Spectra Logic Corp |
321144 |
18-Jul-2017 |
ngie |
MFC r319048,r319049,r319051,r319054:
r319048:
Push `snapshot_file` copying down into run_tests function, and mark snapshot_file const char *.
This fixes a bogus set of errors from gcc about strdup not being allowed a NULL argument.
r319049:
Bump WARNS from 1 to 3 after recent commits to fix warnings in the directory.
Tested with: clang 4.0, gcc 4.2.1, gcc 6.3.0
r319051:
hostent_test_getnameinfo_eq(..): initialize found_a_host to false
CID: 1368943
r319054:
hostent_test_getaddrinfo_eq(..): call freeaddrinfo on `ai` when done
This plugs a leak of memory allocated via getaddrinfo.
CID: 1346866 |
319419 |
01-Jun-2017 |
kib |
MFC r318450: Add tests for some cases in r318298.
PR: 219154 |
319298 |
31-May-2017 |
ngie |
MFC r319027,r319028,r319029,r319030,r319031,r319033,r319034,r319035,r319036,r319037,r319038,r319039,r319040,r319041,r319042,r319043,r319044,r319045,r319046:
r319027:
lib/libc/tests/nss: use calloc appropriately
The pattern used prior to this commit was `calloc(1, n * sizeof(type))`; the pattern that should be used however is `calloc(n, sizeof(type))`.
r319028:
Sort make variables to suit style.Makefile(5)
This is being done prior to functional changes.
r319029:
Staticize functions and remove unused variables to aid with bumping WARNS
r319030:
Fix -Wsign-compare warnings
r319031:
getusershell_test: staticize run_tests(..) to fix warnings
r319033:
getserv_test: fix -Wsign-compare and -Wmissing-prototypes warnings
r319034:
getaddrinfo_test: fix -Wsign-compare warnings
r319035:
getrpc_test: fix -Wmissing-prototypes and -Wsign-compare warnings
r319036:
getproto_test: fix -Wmissing-prototypes and -Wsign-compare warnings
r319037:
getaddrinfo_test: mark unused function parameters __unused to fix -Wunused warnings
r319038:
getusershell_test: mark mdata parameter in compare_usershell __unused
r319039:
getserv_test: mark unused parameters __unused to fix corresponding warnings
r319040:
getrpc_test: fix -Wunused warnings
- Mark unused function parameters unused. - Remove an unused function prototype.
r319041:
getproto_test: fix -Wunused warnings
Mark unused parameters __unused in functions.
r319042:
gethostby_test: fix multiple warning types
- Fix -Wmissing-declaration warning by staticizing run_tests. - Fix -Wsign-compare warnings by casting size_t types to int for comparisons.
Reindent some of the code in sdump_hostent(..) to accomodate the overall changes.
r319043:
getpw_test: fix -Wunused warnings
- Mark unused parameters __unused. - Put dump_passwd under DEBUG as it's only used in that case.
r319044:
getgr_test: fix -Wunused warnings
r319045:
Fix -Wunused and -Wshadow warnings
r319046:
Fix a -Wunused-but-set-variable warning reported by gcc 6.3.0 |
319252 |
30-May-2017 |
asomers |
MFC r315032-r315036, r315039, r315041
r315032: Increase WARNS for iconv tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315033: Increase WARNS for nss tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315034: Document that the msun tests require WARNS=0
ATF tests have a default WARNS of 0, unlike other usermode programs. This change is technically a noop, but it documents that the msun tests don't work with any warnings enabled, at least not on all architectures.
Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315035: Increase WARNS for libcrypt tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315036: Increase WARNS for libmp tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315039: Increase WARNS for libutil tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
r315041: Increase WARNS for pw tests
ATF tests have a default WARNS of 0, unlike other usermode programs.
Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 |
315358 |
16-Mar-2017 |
ngie |
MFC r314954:
style(9): sort the #includes |
315185 |
13-Mar-2017 |
ngie |
MFC r314807:
Move ATF_TC_WITHOUT_HEAD(getgrent) near the testcase it annotates |
314817 |
07-Mar-2017 |
ngie |
MFC r314450,r313439:
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
r313439 | ngie | 2017-02-08 01:46:15 -0800 (Wed, 08 Feb 2017) | 25 lines
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> |
313723 |
14-Feb-2017 |
ngie |
MFC r313378,r313379:
r313378:
Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use
The reasoning here was the same as what was done in r313376: - Gather as many results as possible instead of failing early and not testing the rest of the cases. - Simplify logic when checking test inputs vs outputs and printing test result.
r313379:
Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base type
The %t{d,u} (ptrdiff_t) tests fail for the following reasons: - ptrdiff_t is by definition int32_t on !LP64 architectures and int64_t on LP64 architectures. - intmax_t is by definition fixed to int64_t on all architectures. - Some of the code in lib/libc/stdio/... is promoting ptrdiff_t to *intmax_t when parsing/representing the value.
PR: 191674 |
313720 |
14-Feb-2017 |
ngie |
MFC r313376:
Fix :hexadecimal_floating_point on i386
Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in that case.
While here, replace strcmp + atf_tc_fail with ATF_CHECK_MSG for 2 reasons: - Gather as many results as possible instead of failing early and not testing the rest of the cases. - Simplify logic when checking test inputs vs outputs and printing test result.
Tested on: amd64, i386 |
313535 |
10-Feb-2017 |
ngie |
MFC r311925,r311968,r311969,r312008:
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 .
r312008:
Upgrade NetBSD tests to 01.11.2017_23.20 snapshot
This contains some new testcases in /usr/tests/...:
- .../lib/libc - .../lib/libthr - .../lib/msun - .../sys/kern
Tested on: amd64, i386 |
313517 |
10-Feb-2017 |
ngie |
MFC r309373: r309373 (by bdrewery):
Fix setrlimit_test:setrlimit_memlock when the system has exceeded vm.max_wired.
This uses the same fix as r294894 did for the mlock test. The code from that commit is moved into a common object file which PROGS supports building first. |
313498 |
10-Feb-2017 |
ngie |
MFC r305358,r305449,r305451,r306367,r306397,r309474:
This also contains a merge of ^/projects/netbsd-tests-update-12@r304035 . This change never hit ^/head because bin/cat's behavior was changed (on ^/head) to match NetBSD.
PR: 210607
r305358:
Update contrib/netbsd-tests with new content from NetBSD
This updates the snapshot from 09/30/2014 to 08/11/2016
This brings in a number of new testcases from upstream, most notably:
- bin/cat - lib/libc - lib/msun - lib/libthr - usr.bin/sort
lib/libc/tests/stdio/open_memstream_test.c was moved to lib/libc/tests/stdio/open_memstream2_test.c to accomodate the new open_memstream test from NetBSD.
Tested on: amd64 (VMware fusion VM; various bare metal platforms); i386 (VMware fusion VM); make tinderbox
r305449:
Install h_db to unbreak some of the lib/libc/db testcases after r305358
r305451:
Fix lib/libc/rpc test assumptions added in r305358
- Require root in the tcp/udp subtests (it's needed on FreeBSD when registering services). - Skip the tests if service registration fails.
r306367 (by br):
Allow up to 6 arguments only on MIPS.
r306397 (by br):
Use right piece of code for FreeBSD.
r309474:
Don't build :strvis_locale if VIS_NOLOCALE is undefined
The copy of contrib/libc-vis on ^/stable/10 doesn't contain all of the features in the ^/stable/11 // ^/head version, including VIS_NOLOCALE. The risk is lower in conditionally running the test instead of backporting the newer version of libc-vis |
313489 |
09-Feb-2017 |
ngie |
MFC r296586: r296586 (by bdrewery):
Fix and connect setjmp test. |
313488 |
09-Feb-2017 |
ngie |
MFC r289172,r290254:
r289172:
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity
r290254:
Remove unused variable (SRCDIR) |
313482 |
09-Feb-2017 |
ngie |
MFC r276527:
Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 Jenkins job
The h_raw application doesn't do proper bounds checking without the option being supplied via the build, which means that it doesn't throw signals and fail as expected
PR: 196430 |
313481 |
09-Feb-2017 |
ngie |
MFC r277648: r277648 (by jilles):
Enable utimensat tests from NetBSD.
As with other tests from c063, a required #include <sys/stat.h> was missing. |
309601 |
06-Dec-2016 |
ngie |
MFstable/11 r309600:
MFC r307220: r307220 (by br):
Fix typos: use correct string format and value to compare. |
309482 |
03-Dec-2016 |
ngie |
MFC r299704: r299704 (by vangyzen):
iconvctl(3): remove superfluous NULL pointer tests
convname and dst are guaranteed to be non-NULL by iconv_open(3). src is an array. Remove these tests for NULL pointers. While I'm here, eliminate a strlcpy with a correct but suspicious-looking calculation for the third parameter (i.e. not a simple sizeof). Compare the strings in-place instead of copying.
Found by: bdrewery Found by: Coverity CID: 1130050, 1130056 |
309454 |
03-Dec-2016 |
ngie |
MFstable/11 r309453:
MFC r307700:
Only build lib/libc/tests/iconv if MK_ICONV != no |
307719 |
21-Oct-2016 |
ngie |
MFstable/11 r307718:
MFC r305920:
Remove spurious newlines from atf_tc_fail calls
This changes the results from broken (incorrect) to failed (correct) on i386 |
305272 |
02-Sep-2016 |
ngie |
MFstable/11 r304950:
MFC r304033:
Increase timeout from 10 minutes to 20 minutes for all tests
On particular slow networks, it can (on average) take longer to resolve hosts to IP* addresses. 20 minutes seemed reasonable for my work network
This will be solved in a more meaningful way (if possible) using concurrency in the near future |
304553 |
21-Aug-2016 |
ngie |
Unbreak the build when MK_TESTS != no after r304527
- src.opts.mk should be bsd.own.mk on ^/stable/10 - LIBADD should be DPADD/LDADD on ^/stable/10
Pointyhat to: kib Reported by: Olivier Pinter <oliver.pinter@hardenedbsd.org> Sponsored by: EMC / Isilon Storage Division |
304527 |
20-Aug-2016 |
kib |
MFC r303795: Add __cxa_thread_atexit(3) API implementation. |
301808 |
10-Jun-2016 |
ngie |
MFC r299511: r299511 (by cem):
print_positional_test: Fix misuse of wchar APIs
These APIs take unit length, not byte length parameters.
CIDs: 1338543, 1338544, 1338545 |
301798 |
10-Jun-2016 |
ngie |
MFC r299502: r299502 (by cem):
nss/gethostby_test: fix broken vector iteration of gethostbyaddr h_aliases
h_aliases is a NULL-terminated rather than fixed-length array. nitems() is not a valid way to determine its end; instead, check for NULL.
CID: 1346578 |
300454 |
23-May-2016 |
ngie |
MFC r299654:
Read the contents of the snapshot files properly
- Use fgetln instead of fgets; localize complexity related to fgetln(3) inside the loop. - Skip over blank lines. - Skip over lines (properly) that start with a "#" |
299021 |
04-May-2016 |
ngie |
MFC r298311,r298312:
r298311:
Make sure fmemopen succeeds in :test_append_binary_pos before calling ftell on the FILE object
This fixes potential null pointer dereferences on failure
CID: 1254952
r298312:
Fix double fclose of `fp1` when freopen fails
freopen handles closing file descriptors on error, with the exception of fdopen'ed descriptors, so closing an already fclose'd file descriptor is incorrect
CID: 1338525 |
294359 |
19-Jan-2016 |
ngie |
Default __MAKE_SHELL to /bin/sh when generating aton_ether_subr.c via `gen_ether_subr`.
__MAKE_SHELL is only defined when installworld is run on stable/10, which breaks workflows dealing with source trees mounted with noexec [*]
This is a direct commit to stable/10
Reported by: Mark Martinec <Mark.Martinec+freebsd@ijs.si> Sponsored by: EMC / Isilon Storage Division |
292844 |
28-Dec-2015 |
ngie |
MFC r292317,r292318,r292323,r292324,r292665:
r292317:
Integrate tools/regression/lib/libc/resolv into the FreeBSD test suite as lib/libc/tests/resolv
Convert the testcases to ATF
Sponsored by: EMC / Isilon Storage Division
r292318:
Add Makefile accidentally missed in r292317
Sponsored by: EMC / Isilon Storage Division
r292323:
Integrate tools/regression/lib/libc/nss into the FreeBSD test suite as lib/libc/tests/nss
- Convert the testcases to ATF - Do some style(9) cleanups: -- Sort headers -- Apply indentation fixes -- Remove superfluous parentheses - Explicitly print out debug printfs for use with `kyua {debug,report}`; for items that were overly noisy, they've been put behind #ifdef DEBUG conditionals - Fix some format strings
Sponsored by: EMC / Isilon Storage Division
r292324:
Iterate down lib/libc/tests/nss...
Sponsored by: EMC / Isilon Storage Division
r292665:
Increase the timeout for resolv_test from the default (300 seconds) to 450 seconds
This is required on slower network connections, and on older releases (stable/10 seems to be slower as far as name resolution goes.. not sure why yet).
Remove an outdated comment in the Makefile from when I was working on this code over a year ago on github
Sponsored by: EMC / Isilon Storage Division |
292152 |
13-Dec-2015 |
ngie |
MFC r291980,r291981:
r291980:
Add missing va_ends for corresponding va_starts to clean up variable arguments initialized in _test_fmt(..)
Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division
r291981:
Delete bogus freeing of uninitialized data
Reported by: cppcheck Sponsored by: EMC / Isilon Storage Division |
291870 |
05-Dec-2015 |
ngie |
MFC r283801,r290846,r290851,r290856,r290860:
r283801 (by araujo):
Fix warning of implicit declaration of function 'mkdir'.
Differential Revision: D2662 Reviewed by: rodrigc, ngie
r290846:
Bump WARNS to 2
Sponsored by: EMC / Isilon Storage Division
r290851:
Change WARNS to 2 across the board with all the libc testcases
This effectively "reverts" r290846
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros
r290860 (by bapt):
Remove unused variables to fix building world |
291840 |
05-Dec-2015 |
ngie |
MFC r290537,r290540,r290560,r290856,r290871,r291839:
r290537:
Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite as lib/libc/tests/stdio
- Fix some whitespace - Convert the testcases to ATF - Convert "/dev/null" to _PATH_DEVNULL
Sponsored by: EMC / Isilon Storage Division
r290540:
printfloat_test and scanfloat_test need symbols from msun; these are automatically provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386 tinderbox
Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division
r290560:
Convert print_positional_test over to ATF
Somehow missed in r290537
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros
r290871:
Disable -Wformat with scanfloat_test when compiling with gcc to avoid a "use of assignment suppression and length modifier together in scanf format" warning on line 90 (it's intentional)
Sponsored by: EMC / Isilon Storage Division
r291839:
Initialize errno to 0 in the nul testcase before testing it
For some odd reason stable/10 requires this, otherwise it always fails the errno == 0 check on line 196.
Sponsored by: EMC / Isilon Storage Division |
291818 |
04-Dec-2015 |
bdrewery |
MFC r291339:
Follow-up r291330: h_testbits.h is only needed by xdr_test. |
291816 |
04-Dec-2015 |
bdrewery |
MFC r291330:
Replace DPSRCS that work fine in SRCS. |
291345 |
26-Nov-2015 |
ngie |
MFC r291172:
Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.c (HOST_SHELL is used in NetBSD)
This fixes permission denied issues when gen_ether_subr is not executable
Reported by: José Pérez <fbl@aoek.com> Suggested by: bdrewery, sjg |
291343 |
26-Nov-2015 |
ngie |
Fix bad MFC (r291175)
Replace SRCTOP with the relevant path via .CURDIR
Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division |
291190 |
23-Nov-2015 |
ngie |
MFC r290572,r290646,r290848,r290849:
r290572:
Integrate tools/regression/lib/libc/gen into the FreeBSD test suite as lib/libc/tests/gen
The code in test-fnmatch that was used for generating:
- bin/sh/tests/builtins/case2.0 - bin/sh/tests/builtins/case3.0
has been left undisturbed. The target `make sh-tests` has been moved over from tools/regression/lib/libc/gen/Makefile to lib/libc/tests/gen/Makefile and made into a PHONY target
case2.0 and case3.0 test input generation isn't being done automatically. This needs additional discussion.
Sponsored by: EMC / Isilon Storage Division
r290646:
Add missing licensing boilerplate to test-fnmatch.c
Carry over licensing author info from fnmatch_test.c (jilles@)
Sponsored by: EMC / Isilon Storage Division
r290848:
Fix -Wunused warnings
Sponsored by: EMC / Isilon Storage Division
r290849:
Fix -Wmissing-braces warnings by adding braces around all the testcase inputs
Sponsored by: EMC / Isilon Storage Division |
291182 |
23-Nov-2015 |
ngie |
MFC r290909:
Add some initial tests for SLIST and STAILQ macros
Sponsored by: EMC / Isilon Storage Division |
291178 |
23-Nov-2015 |
ngie |
MFC r290532,r290561,r290843,r290844,r290845:
r290532:
Integrate tools/regression/lib/libc/locale into the FreeBSD test suite as lib/libc/tests/locale
Sponsored by: EMC / Isilon Storage Division
r290561:
Delete leftover printfs from when these were TAP tests
Sponsored by: EMC / Isilon Storage Division
r290843:
Polish up the tests a bit more after projects/collation was merged to head
Provide more meaningful diagnostic messages if LC_CTYPE can't be set properly instead of segfaulting, because setlocale returns NULL and strcmp(NULL, b) will always segfault
Split up the testcases so one failing (in this case en_US.ISO8859-15) won't cause the rest of the testcases to be skipped
Remove some unused variables
Sponsored by: EMC / Isilon Storage Division
r290844:
Polish up iswctype_test
- Split up the testcases into C locale and ja_JP.eucJP testcases. - Avoid a segfault in the event that setlocale fails, similar to r290843 - Replace `sizeof(x) / sizeof(*x)` pattern with `nitems(x)`
Sponsored by: EMC / Isilon Storage Division
r290845:
Remove unused variables; sort by alignment where needed
Sponsored by: EMC / Isilon Storage Division |
291175 |
23-Nov-2015 |
ngie |
MFC r290563,r290868,r291038:
r290563:
Integrate tools/regression/lib/libc/net into the FreeBSD test suite as lib/libc/tests/net
Also, fix eui64_aton_test:test_str(..). The test was comparing the result of eui64_aton to a pointer of the expected result.
Sponsored by: EMC / Isilon Storage Division
r290868:
Fix -Wformat issues
Reported by: gcc Sponsored by: EMC / Isilon Storage Division
r291038:
Do not print out errno if the call succeeded unexpectedly; this was a mistake made in r290868
Reported by: jilles Sponsored by: EMC / Isilon Storage Division |
290896 |
16-Nov-2015 |
ngie |
MFC r290255:
Add _test suffix to multiple tests in lib/libc to conform to the design noted in the FreeBSD Test Suite wiki
Sponsored by: EMC / Isilon Storage Division |
290881 |
15-Nov-2015 |
ngie |
MFC r290571:
Fix some TAP -> ATF conversion errors
- Remove a leftover printf from when this was a TAP based testcase - Catch mmap failures properly
Sponsored by: EMC / Isilon Storage Division |
290876 |
15-Nov-2015 |
ngie |
MFC r290538:
Integrate tools/regression/lib/libc/stdlib into the FreeBSD test suite as lib/libc/tests/stdlib
- Make the code a bit more style(9) compliant - Convert a sizeof(x)/sizeof(x[0]) to nitems
Sponsored by: EMC / Isilon Storage Division |
290875 |
15-Nov-2015 |
ngie |
MFC r290539:
Integrate tools/regression/lib/libc/string into the FreeBSD test suite as lib/libc/tests/string
Sponsored by: EMC / Isilon Storage Division |
290584 |
09-Nov-2015 |
ngie |
MFC r290177:
Integrate contrib/netbsd-tests/lib/libc/rpc into the FreeBSD test suite as lib/libc/rpc
This testcase requires rpcbind be up in running; otherwise the testcases will time out and be skipped
Sponsored by: EMC / Isilon Storage Division |
288607 |
03-Oct-2015 |
bdrewery |
MFC r288199,r288246:
Add missing CLEANFILES. |
287551 |
08-Sep-2015 |
kib |
MFC r287360: Fix t_spawnattr test for attributes handling by posix_spawn(3). Connect it to the build. |
282834 |
13-May-2015 |
ngie |
MFC r281967:
Assuming a system has /bin/csh on it is a bad idea (especially it being optional on FreeBSD). Look for /bin/cat instead |
277446 |
20-Jan-2015 |
ngie |
MFC r267004,r274592:
r267004 (by gahr):
- Use strlen instead of hardcoding a number - Terminate a sentence with a period
Approved by: cognet
r274592 (by ngie):
Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and rename as lib/libc/stdio/fmemopen2_test
Sponsored by: EMC / Isilon Storage Division |
277443 |
20-Jan-2015 |
ngie |
MFC r276590:
r276590 (by jilles):
Link lib/libc/c063 tests to the build.
Some files lack required #include <sys/stat.h>. The #ifdef is per ngie's request; the includes are clearly necessary for struct stat.
The faccessat test fails because it tries to use AT_SYMLINK_NOFOLLOW with faccessat(), which is not specified by POSIX.1-2008.
Differential Revision: https://reviews.freebsd.org/D1411 Reviewed by: ngie |
277442 |
20-Jan-2015 |
ngie |
MFC r276318:
r276318 (by ngie):
Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes
Reported by: Beeblebrox <zaphod@berentweb.com> |
277441 |
20-Jan-2015 |
ngie |
MFC r274075,r274581,r274582,r274595:
r274075 (by ngie):
Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 500 new testcases
Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime.
A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures
In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division
r274581 (by ngie):
Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase and rename as lib/libc/gen/arc4random_test
Sponsored by: EMC / Isilon Storage Division
r274582 (by ngie):
Remove test-arc4random from this Makefile so others can continue to use this as-is for the time being
r274595 (by ngie):
Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase and Rename as lib/libc/stdio/fpclassify2_test
Sponsored by: EMC / Isilon Storage Division |
274075 |
04-Nov-2014 |
ngie |
Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 500 new testcases
Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime.
A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures
In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division
|