7552 Commits

Author SHA1 Message Date
ngie
bc1846372b Use _SED instead of hacking tests rewriting mknod ... p as mkfifo
Similar to r312297
2017-01-16 17:53:58 +00:00
ngie
53e30a6b7b Use _SED to rewrite mknod ... p command as mkfifo instead of
adding an unnecessary diff to the test
2017-01-16 17:49:53 +00:00
ngie
6bece6cfa6 Merge ^/vendor/NetBSD/tests/dist@r312294
This includes a number of accepted upstream fixes, as well as
a reimplementation of the net/carp/... testcase (which is
currently unused).
2017-01-16 17:43:43 +00:00
ngie
81fb92d8ac Add GLOB_STAR #ifdef to testcases which require GLOB_STAR support 2017-01-16 07:41:39 +00:00
ngie
2d9dd7d9d3 Remove sys/param.h
It was used for nitems, but I converted it to __arraycount later, and
is already pulled in by header pollution on FreeBSD as well as NetBSD
ala sys/cdefs.h
2017-01-16 07:39:08 +00:00
ngie
ce3bf87904 Drop unnecessary diff rewriting dict(..) function
This is already being properly handled via ATF config require.files call
2017-01-16 07:34:45 +00:00
ngie
730b68b59d Diff reduce with upstream and consolidate #ifdefs where possible 2017-01-15 22:00:59 +00:00
ngie
c835c991a4 Remove libutil.h #include on FreeBSD and instead favor stdio.h from libnetbsd 2017-01-15 21:38:19 +00:00
ngie
8d847934be lib/libc/gen/t_glob.c: diff reduce with NetBSD's copy 2017-01-15 10:17:15 +00:00
ngie
3e48fe15c4 Pull in ^/vendor/NetBSD/tests/dist@r312219
Remove divergence with upstream where possible
2017-01-15 10:04:20 +00:00
dim
87332e7acc Pull in r292032 from upstream llvm trunk (by Yaron Keren):
Fix PR31644 introduced by r287138 and add a regression test.
  Thanks Dimitry Andric for the report and fix!

This should restore -MP output to what it was before.

Reported by:	jbeich
PR:		216043
2017-01-15 01:34:07 +00:00
dim
9deb65be19 Merge ^/head r311940 through r312200. 2017-01-14 22:20:12 +00:00
dim
2fd7c3a432 Merge libc++ release_40 branch r292009. 2017-01-14 22:17:12 +00:00
dim
97ab106b6f Merge compiler-rt release_40 branch r292009. 2017-01-14 22:16:01 +00:00
dim
8b0a30be0e Merge llvm, clang, lld and lldb release_40 branch r292009. Also update
build glue.
2017-01-14 22:12:13 +00:00
ngie
7de155e511 Revert t_pow@r312154
This hunk hasn't been accepted yet
2017-01-14 10:10:49 +00:00
ngie
d5be20c8dc Fix the build using hunks pending upstream contributions 2017-01-14 10:08:22 +00:00
ngie
812b3562ac Diff reduce with upstream post-accepted contributions 2017-01-14 10:05:26 +00:00
ngie
921c5ebfc6 One more sys/types.h kevent clarification missed in r312151 2017-01-14 09:47:06 +00:00
ngie
a16443ef0f Clarify why sys/types.h #include is needed on FreeBSD 2017-01-14 09:45:46 +00:00
ngie
2462f56255 Use cleanup routines to remove POSIX semaphores instead of just blindly
unlinking them at the beginning of the testcase

This is a lot more intelligent in cleaning up the semaphores if the testcase
fails before sem_unlink is called.

Contributed back as bin/51872 upstream.
2017-01-14 09:42:06 +00:00
ngie
c680b35890 Diff reduce with upstream by taking diff hunks that were contributed back 2017-01-14 09:38:40 +00:00
ngie
ae7ce3ee77 Readd the CMSG_DATA for assigning the kqueue... this testcase isn't officially
correct yet, but it's getting closer.
2017-01-14 09:25:09 +00:00
ngie
8a39cdd5ef Remove extra EVSET I added in r312146 by accident 2017-01-14 09:21:36 +00:00
ngie
490cf9a071 Diff reduce with upstream
Use CMSG_FIRSTHDR macro to properly link the kqueue to the socket to
get it to now return -1/EBADF with sendmsg per the testcase expectations
2017-01-14 09:20:54 +00:00
ngie
5aa3a5ea8a Try to consolidate the #ifdef soup into FreeBSD vs non-FreeBSD blocks better 2017-01-14 08:47:00 +00:00
ngie
18d5bffd4c Diff reduce with upstream 2017-01-14 08:39:53 +00:00
ngie
4c450d78ab Remove comment no longer true since the test no longer bombs out earlier on 2017-01-14 08:38:21 +00:00
ngie
e01a2989a1 Diff reduce with upstream 2017-01-14 08:36:43 +00:00
ngie
72922ab011 :strtold_nan: remove unnecessary strcmp check
It gets checked again later on in the testcase
2017-01-14 08:35:29 +00:00
ngie
3494b06792 Diff reduce with upstream 2017-01-14 08:12:57 +00:00
ngie
19adf3450d Use copy of sha2.h from libnetbsd 2017-01-14 08:11:17 +00:00
ngie
69d0b79818 Restore deleted line 2017-01-14 07:59:33 +00:00
ngie
130c73622b Diff reduce with upstream using lib/libnetbsd's updated copy of sha1.h 2017-01-14 07:58:40 +00:00
ngie
616cceddc8 r312133 should have used the non-FreeBSD block 2017-01-14 07:50:29 +00:00
ngie
ce00fd0c0c Diff reduce with upstream by using util.h from libnetbsd instead of libutil.h 2017-01-14 07:48:22 +00:00
ngie
fb15e0f3f2 Diff reduce with upstream 2017-01-14 07:39:07 +00:00
ngie
ff56c22837 Copy ^/vendor/NetBSD/tests/dist/lib/libc/hash/t_hmac.c to
contrib/netbsd-tests/lib/libc/hash/t_hmac.c

This was missed in r303980
2017-01-14 07:16:15 +00:00
ngie
aa72771260 Try again with a better commit message 2017-01-14 07:15:14 +00:00
ngie
402a9a2b61 Copy ^/vendor/NetBSD/tests/dist to contrib/netbsd-tests
This was missed in r303980
2017-01-14 07:14:25 +00:00
ngie
df753889a0 Merge content currently under test from ^/vendor/NetBSD/tests/dist/@r312123
Sponsored by:	Dell EMC Isilon
2017-01-14 06:49:17 +00:00
ngie
962bf8e3c1 Remove contrib/netbsd-tests/fs/nfs/nfsservice/rpcbind
This should have been pruned in r305358

MFC after:	3 days
Sponsored by:	Dell EMC Isilon
2017-01-14 06:16:57 +00:00
ngie
4d5319ac7b Delete trailing whitespace and use __arraycount instead of nitems in contrib code
MFC after:	1 week
2017-01-14 03:54:23 +00:00
ngie
13c3aaf130 Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD
MFC after:	12 days
X-MFC with:	r305358
Sponsored by:	Dell EMC Isilon
2017-01-14 01:01:02 +00:00
ngie
267c549853 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
MFC after:	1 month
2017-01-13 03:33:57 +00:00
ngie
f418f34d66 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 .

MFC after:	1 week
2017-01-12 08:40:52 +00:00
ngie
5e7a3f84d0 Fix lib/libc/sys/access_test after r311925
sys/param.h needs to be #included in order for __FreeBSD_version to be checked

MFC after:	13 days
2017-01-12 08:31:42 +00:00
emaste
118b6334c4 readelf: add S390 relocation types
From https://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries.html

Reviewed by:	bz
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D9149
2017-01-11 22:54:04 +00:00
emaste
4df1d24527 readelf: add more PPC64 relocation types found in LLVM
MFC after:	2 weeks
MFC with:	r311941
Sponsored by:	The FreeBSD Foundation
2017-01-11 21:28:22 +00:00
emaste
afc5c43591 readelf: add PPC64 relocation types
Reported by:	Mark Millard
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D9146
2017-01-11 21:18:14 +00:00