Commit Graph

1918 Commits

Author SHA1 Message Date
martin
4f7da0ce19 New gcc can reuse stack frames for tail calls, so "main" is an optional
frame as well.
2014-01-11 19:48:22 +00:00
martin
030abcd2da Make the output of the test case better suited for debugging (output full
backtrace before failing any unclear asserts)
2014-01-11 19:13:41 +00:00
gson
341c8e68ed Remove comment that no longer applies. 2014-01-10 20:38:11 +00:00
martin
99caaa63e9 In the strcat test, smash the stack more severely (this all may depend
on alignment and stack frame details).
The gcc folks disagree with this test in general:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59750
2014-01-10 10:45:34 +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
hannken
9cd2f4b930 Operation sysvbfs_remove() destructs inodes attached to active vnodes.
Defer the destruction to sysvbfs_reclaim().

Disable test t_renamerace:sysvbfs_renamerace as it will exhaust the
inode table (sysvbfs has space for 8 inodes only).

Ok: Izumi Tsutsui <tsutsui@netbsd.org>
2014-01-09 13:23:57 +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
26125ae798 Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.
2014-01-07 16:47:13 +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
martin
2f9cf01de9 We now expect this test to succeed 2014-01-05 12:59:03 +00:00
pooka
c7edf59387 netstat expected output includes ipv6 sucket, so add netinet6 2014-01-03 13:18:00 +00:00
pooka
7e5de72e53 ldpd wants inet6 2014-01-03 13:14:50 +00:00
joerg
1fd04761e2 Disable integrated-assembler for clang on ARM for two files that are
victims of the @ comment mess on that platform. Add a reference to the
upstream PR.
2013-12-25 22:26:35 +00:00
christos
9a6b9e13f8 sixthavenue got upgraded 2013-12-20 20:22:26 +00:00
alnsn
202116b0b6 Add bpfilterbadmem, bpfilternoinitA and bpfilternoinitX tests. 2013-12-18 22:39:16 +00:00
martin
714f2fc9c2 Add stack alignement test for sparc 2013-12-12 11:22:26 +00:00
matt
414bfc7e2c Add stack alignment checks for alpha, arm, mips, powerpc, and vax.
Fix makefile to support MACHINE_CPU
2013-12-11 17:31:55 +00:00
martin
f758bf64d6 Adjust expected epsilon for sqrtl <-> powl comparisions for defects in
powl (which actually is pow for now)
2013-11-22 17:19:14 +00:00
blymn
c9f5d99795 Add carriage return to list of valid character substitutions. 2013-11-21 11:08:08 +00:00
blymn
d77ae47228 Add carriage return to the quoted character list 2013-11-21 11:06:04 +00:00
joerg
f63f9867dd Add cbrtl(3) and sqrtl(3), from FreeBSD. 2013-11-19 19:24:33 +00:00
martin
2e8fa30d93 Add stack alignement checking for sparc64 2013-11-15 20:00:20 +00:00
skrll
b6090b2a1d Check stack alignment on hppa. 2013-11-15 11:48:30 +00:00
rmind
d0748eb941 - Add bpf_args_t and convert bpf_filter_ext() to use it. This allows the
caller to initialise (and re-use) the memory store.
- Add bpf_jit_generate() and bpf_jit_freecode() wrappers.
2013-11-15 00:12:44 +00:00
christos
fa1e6d6374 CID 1107543, 230676, 1107543, 976795, 230676, 976795, 1125885, etc. 2013-11-13 21:41:23 +00:00
joerg
cbc2f8caeb Add FreeBSD's truncl and minimal testing. 2013-11-13 12:58:11 +00:00
joerg
d0d4402155 Initial version of fmodl from FreeBSD.
Basic test case for the fmod family.
2013-11-12 16:48:39 +00:00
kefren
f7c77f192b Retire t_ldp_static. It's too heavy weighted for releng's anita and mostly
unsuited for atf.
2013-11-12 12:22:33 +00:00
joerg
2e412cf6b8 Add initial version of ceill, floorl and roundl from FreeBSD. 2013-11-11 23:57:34 +00:00
joerg
70f0cfa164 NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.

Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
blymn
f3ae62b834 Update check files to match fixed behaviour for addchstr 2013-11-09 11:18:12 +00:00
christos
ddd5644b2e Handle new objc for gcc-4.8.1. Someone with more objc foo can do this better. 2013-10-31 21:02:11 +00:00
joerg
5e2fc1bbd3 Only initialise TLS space from the PT_TLS segment, if the size is
positive and the offset has been computed. Fixes PR lib/48324.
2013-10-21 19:14:15 +00:00
joerg
7ce95f3734 Revert, init-exec in combination with initalised TLS variables is not
supported.
2013-10-21 19:11:17 +00:00
christos
f59006a79a write fail as a proper macro 2013-10-20 17:36:36 +00:00
christos
92501fa166 adjust output now that we don't output size info for links and directories
by default.
2013-10-20 17:27:37 +00:00
christos
14e652625e broadway changed addresses. 2013-10-20 17:22:49 +00:00
joerg
744547edc2 Force use of static TLS space. 2013-10-20 13:30:50 +00:00
christos
d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
christos
973ed75f39 initialize variables 2013-10-19 17:44:37 +00:00
christos
05546cf9db build the .h before the .o 2013-10-19 17:28:38 +00:00
christos
11fdff5426 CID 1107548: resource leak 2013-10-17 12:53:28 +00:00
christos
73a690f0f7 CID 1107550: resource leak 2013-10-17 12:52:09 +00:00
christos
0703489a8c more tests 2013-10-12 17:26:32 +00:00
christos
ee07b6a10b new test to check if non-blocking sockets are reset to blocking on the
accepted file descriptor.
2013-10-12 15:29:16 +00:00
christos
4b23c29b39 make this work on linux 2013-10-10 16:01:55 +00:00
christos
dc8626c22e Improve tests so that they check the sockaddr's returned by accept(2) and
getsockname(2). Test for accept success after closed client socket.
2013-10-08 18:05:31 +00:00
ast
83d9b54597 Fix PR bin/48202 [non-critical/low]:
sh +nounset and `for X; do` iteration fails if parameter set empty
by applying and testing FreeBSD's patch of Oct 24 2009 for this; see
  http://svnweb.freebsd.org/base/head/bin/sh/expand.c?r1=198453&r2=198454
Also created an ATF test in tests/bin/sh/t_expand.sh for this error and
corrected a space->tabs problem there as well.
2013-10-06 21:05:50 +00:00