kamil
f222e3cc8d
Avoid redefining _REENTRANT under sanitizers
...
Switch away from -Wno-macro-redefined which was Clang specific.
2020-06-01 01:03:21 +00:00
kamil
cc056601a4
Expand the -Wno-macro-redefined usage to MKLIBCSANITIZER
...
_REENTRANT can be redefined and this is considered as an error.
2020-02-08 00:11:18 +00:00
kamil
1a5f018b01
Enhance the support of LLVM sanitizers
...
Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.
Add bsd.sanitizer.mk to share common code used by programs and libraries.
Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
2019-08-27 22:48:53 +00:00
mrg
37649e4074
- enlarge buffer to avoid snprintf() truncation
2019-02-03 10:48:46 +00:00
pgoyette
12ca9da8a1
Remove extraneous && from check_output()
...
With this extra && the test case exits abnormally when the actual and
expected outputs don't match.
2019-01-10 11:13:50 +00:00
dholland
519883bde6
Update error string
2018-12-18 08:39:03 +00:00
dholland
6d6b8495d8
Update error string
2018-12-16 17:08:19 +00:00
msaitoh
dcdcd796aa
Add simple test case for if_nametoindex(3).
2018-08-06 04:50:11 +00:00
darcy
36a840f64a
Replace MKMAN with NOMAN as suggested by christos@. Allows
...
userland to build when building man pages.
2016-08-26 01:31:43 +00:00
joerg
1c9e147d7d
libc fallback is known to not produce nice alias entries. Avoid spurious
...
failures when testing in an empty chroot by requiring the services db.
2016-03-08 08:34:17 +00:00
gson
de089ddb26
Use daemon(3) instead of the experimental daemon2_fork() and
...
daemon2_detach(). Now that newer versions of daemon2_fork() and
daemon2_detach() are used in nfsd, where two-stage daemonization is
actually needed, there is no longer any reason for h_dns_server to
serve as a test case and example of their use.
2014-03-29 16:10:54 +00:00
gson
544eb11262
When using braces around shell variable names, do so consistently
2014-01-13 11:08:14 +00:00
gson
feb2d702d7
Add missing resolv.conf override to the gethostbyaddr6 test case.
2014-01-13 10:49:47 +00:00
gson
341c8e68ed
Remove comment that no longer applies.
2014-01-10 20:38:11 +00:00
christos
c0cdf73e1c
Add a cleanup routine because if a test fails, the script exits and the
...
rest of the code is not executed.
Note that the cleanup routine is executed in a separate shell so environment
variables are not propagated and need to be set again.
2014-01-10 01:43:55 +00:00
christos
0560f419d3
fix copyright botch and add library for netinet6; still does not fix the
...
problem.
2014-01-09 14:07:31 +00:00
christos
cca81d599b
Use our own resolv.conf file simplifying the test to not need rump_vfs.
...
Add debugging on the dns server
One test fails (gethostbyaddr6) why? It runs without rump
2014-01-09 02:18:10 +00:00
gson
46f418f7e1
Fix spelling of "daemon". Pointed out by Thomas Klausner.
2014-01-06 16:42:57 +00:00
gson
e54ff2dc1b
Make t_hostent test cases that query the DNS work on systems with no
...
Internet connectivity, by hijacking DNS queries and /etc/resolv.conf
accesses using librumphijack and providing a minimal DNS server to
answer the queries.
2014-01-06 14:50:32 +00:00
christos
9a6b9e13f8
sixthavenue got upgraded
2013-12-20 20:22:26 +00:00
christos
14e652625e
broadway changed addresses.
2013-10-20 17:22:49 +00:00
christos
0f567347d0
test harness for gethostbyname()/gethostbyaddr() and their internal bits.
...
XXX[1]: How can we avoid using hard-coded hosts for DNS
XXX[2]: How do we test NIS?
2013-08-16 15:29:45 +00:00
plunky
baa3f70feb
correct spelling of file to clean
2012-09-15 16:22:58 +00:00
christos
1375b73fd3
whitespace
2012-09-03 15:32:18 +00:00
joerg
114f211aa1
Be UTF8 clean.
2012-04-04 10:03:53 +00:00
pgoyette
b9c0a62ba4
atf-ify ether_aton test
2011-11-01 22:36:53 +00:00
jruoho
8a16de8dc8
Few naive unit tests for the getprotoent(3) family.
2011-07-15 06:41:29 +00:00
jmmv
884a148d21
Fix obvious typo in test case name. Uncovered by atf 0.14.
2011-06-15 07:54:32 +00:00
christos
2a18cea9f4
Turn warns on for all tests and fix all the bugs.
2011-06-11 18:03:17 +00:00
jruoho
02dfa85f00
Remove the following (literal) text in the TNF copyrights:
...
* This code is derived from software contributed to The NetBSD Foundation
* by
*
XXX: If these originated from you and you want your name to be mentioned,
please add it.
2011-04-07 18:14:08 +00:00
pgoyette
ec5cad1d54
Re-add missing -lpthread and fix some structure inializers (not sure how
...
these ever compiled)
2011-01-13 02:24:51 +00:00
pgoyette
374d5969a4
The nsdispatch test belongs in libc/net and not in libc
2011-01-13 01:56:44 +00:00
pgoyette
2517c83d16
Move the servent and protoent tests to src/tests/lib/libc/net/ (where
...
they should have gone initially).
2011-01-12 17:32:27 +00:00
pgoyette
01a7ddb233
By request, put the getaddrinfo test in tests/lib/libc/net/
2011-01-12 02:58:40 +00:00