libbsd/test
James Clarke 61d378f5e9 Re-allow direct use of nlist.n_name in <nlist.h>
Commit e8d340de ("Remove a.out support from nlist()") introduced a copy
of the definition of nlist from a.out.h. However, as well as having
n_name inside n_un, on the various BSDs n_name could also be accessed
as a direct member of nlist, and this is made use of by FreeBSD's
usr.bin/netstat/main.c. Thus we should also add the same enclosing
anonymous union.

[guillem@hadrons.org:
 - Add a minimal unit test. ]

Closes: !4
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2019-08-08 03:47:04 +02:00
..
.gitignore Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
arc4random.c test: Fix success return code for arc4random unit test 2016-01-11 02:35:34 +01:00
bzero.c Add explicit_bzero() function from OpenBSD 2015-09-24 05:47:58 +02:00
closefrom.c test: Add closefrom() unit test 2015-09-23 07:59:34 +02:00
endian.c test: Add a unit test for endian encoder/decoder 2012-05-29 04:51:16 +02:00
fgetln.c test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
fparseln.c test: Add fparseln() unit test 2015-09-23 07:59:34 +02:00
fpurge.c test: Add test case for fpurge(NULL) 2015-09-23 07:59:34 +02:00
funopen.c Add funopen() function 2013-10-21 05:35:44 +02:00
headers-overlay.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
headers-system.sh test: Fix race condition in headers-*.sh 2016-01-10 17:36:34 +01:00
humanize.c Fix dehumanize_number() to correctly detect overflows 2013-10-21 05:29:37 +02:00
Makefile.am Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
md5.c test: Add a unit test for md5 2016-03-27 12:31:58 +02:00
nlist.c Re-allow direct use of nlist.n_name in <nlist.h> 2019-08-08 03:47:04 +02:00
overlay.c Don't require <grp.h> 2018-06-18 04:31:00 +02:00
proctitle.c test: Check asprintf() return code 2015-11-30 23:48:50 +01:00
progname.c test: Handle libtool executable names in getprogname() unit test 2017-06-24 16:05:50 +02:00
setmode.c test: Add new setmode() and getmode() unit test 2017-06-19 03:17:21 +02:00
strl.c test: Add unit test for strlcpy() and strlcat() 2017-06-09 05:47:07 +02:00
strmode.c test: Add missing <sys/stat.h> include 2016-01-27 15:24:39 +01:00
strnstr.c test: Add new strnstr() unit test 2017-06-19 03:17:21 +02:00
test-stream.c test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
test-stream.h test: Refactor stream testing functions into a new module 2015-09-23 07:59:34 +02:00
vis-openbsd.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00
vis.c Fix strnvis() and strnunvis() NetBSD ABI break 2018-05-22 16:07:42 +02:00