Commit Graph

842 Commits

Author SHA1 Message Date
joerg e3f0a6cadb Put the vfork at the end. 2013-07-05 09:55:39 +00:00
joerg 8f5b02bd33 Use conditional calls to vfork() to prevent the compiler from inlining
the intermediate stack frames. Mark the __start frame as optional.
2013-07-04 23:53:13 +00:00
isaki 0a3e12024b Remove header files which became unnecessary in 1.7. 2013-06-14 05:39:28 +00:00
joerg 44c2dc6e5d Make back trace more robust. At least on i386, one of the intermediate
functions in ATF is not replaced by tail recursion elimination, so
mark it as optional.
2013-06-06 17:40:09 +00:00
joerg 85a67e61f7 Add mbsnrtowcs and wcsnrtombs. Approved by core. 2013-05-28 16:57:56 +00:00
martin dbc87f74ee Backout previous - real fix for vax libm upcoming. 2013-05-24 11:47:13 +00:00
christos fdb7536171 vaxinate the new tests. 2013-05-23 20:45:47 +00:00
martin 85d85a185b Add a few test cases to test "ordinary" values with the various scalbn
variants. While there, make some spuriously failing tests print out the
broken values on failure.
2013-05-20 12:21:42 +00:00
skrll 3defc39379 Whitespace 2013-05-05 10:26:57 +00:00
joerg fcfab139c2 Since the mktemp test case uses mktemp, make linker warnings non-fatal. 2013-04-25 13:34:09 +00:00
christos 42e0c394d3 new mktemp test 2013-04-22 21:05:12 +00:00
martin 18d840f0c0 Backout previous - which did not include the change described in the log
message anyway but pure accidental white space changes. The whole change
was not needed any more after fixing isqemu.h.
Thanks to agc for pointing it out.
2013-04-14 16:03:06 +00:00
martin a4fee3e85d Mark the test function as inline, so we don't get warnings if it is not
actually used.
2013-04-14 12:46:29 +00:00
martin 152c21a77c Do not include isqemu.h if we are not going to use the test 2013-04-14 12:45:50 +00:00
christos 64d9d8eefb use one qemu test 2013-04-12 17:30:50 +00:00
christos 57ecabebfd don't pay for sysctl if we don't have to. 2013-04-12 17:21:04 +00:00
christos 1e97173517 loosen the test only for qemu. 2013-04-12 17:18:11 +00:00
christos 427032d97c easier way to find if we are on qemu. 2013-04-12 17:13:54 +00:00
gson 44da6cec61 Make cond_wait_mono and cond_wait_real tests accept a wait time in the
range of 90% to 250% of nominal, to allow the test to pass under qemu
which has a known issue where timing can be off by a factor of two.
2013-04-12 14:21:52 +00:00
christos 14ac21b358 Add new tests sources for event2. 2013-04-11 17:00:12 +00:00
isaki 0c8b5b215f Use a pre-calculated value as expected result, instead of
comparing it in a mathematical formula.
PR lib/46434 (and see also 46433).
2013-04-09 12:11:04 +00:00
isaki ffc77545dc Tune the epsilon about each value for exp{,f}_product. 2013-04-09 11:42:56 +00:00
christos 0ef49f62d1 add more test cases for nanosleep 2013-03-31 16:47:16 +00:00
christos 3993b5d374 fix printf formats 2013-03-29 02:32:38 +00:00
christos dd14258bb5 Add pthread_cond_timedwait(3) test from PR/47703 2013-03-28 18:50:01 +00:00
gson 1189f7bcc3 Don't size an array using MB_CUR_MAX while one locale is in effect and
then use it with another locale having a larger MB_CUR_MAX.  This
should fix the t_wctomb:wcrtomb_state test failures seen on i386.
2013-03-25 15:31:03 +00:00
christos a4ddc2c8fb new dlopen tests for libpthread from manu@ 2013-03-21 16:50:21 +00:00
isaki 3e866cf1f6 Fix and revive test of atan_inf_neg, atan_inf_pos and atan_tan on i386.
PR port-i386/46108.
The machine epsilon 1.0e-40 is too severe and nonsense for double
because DBL_EPSILON is about 2.2e-16 .  I think that 1.0e-15 is
enough good, in this case.
XXX However, test of atan_tan should be replaced for other reasons.
2013-03-21 02:10:52 +00:00
jmmv 051a1f53b0 Do not special-case qemu when expecting the failure due to PR kern/43997.
I am sporadically observing this in my real machine as well.  It's harder
to trigger, but it happens.
2013-03-17 05:47:48 +00:00
jmmv 33af199a4a Try to trigger the cond_timedwait_race race several times.
Sometime this tests passes (after all, it's exercising a race condition) and
when it does it's reported as a failure.  By giving the test a few chances
to expose the problem, we prevent this noisy signal.  When the race is really
addressed, this will start failing consistently as expected.
2013-03-17 05:13:13 +00:00
jmmv 5ac530f373 Mark two routinely-broken tests as expected failures referencing PR lib/47660. 2013-03-17 05:02:13 +00:00
jmmv 2be7ebf7e2 Remove unnecessary cleanup routines. 2013-03-17 04:46:06 +00:00
jmmv 042bde1174 fexecve is not implemented, so mark the test as an expected failure.
While doing this, clean this whole thing: do not define a useless cleanup
routine and wait for the subprocess to finish instead of using sleep.
2013-03-17 04:35:59 +00:00
christos d3d55324bd check return values 2013-03-17 02:23:31 +00:00
martin 2be5afec8a Sharpen the "return imediately" test case and fix/uncomment the "wait untill
signal" one.
2013-03-08 23:18:00 +00:00
martin faea3b9e87 Rename testprogram and make it more general by adding other testcases.
One commented out, I didn't manage to get all signal handling correct
for now.
2013-03-08 17:01:54 +00:00
martin 90ba9be35f Add a test program for PR kern/47625, based on the sample code provided
by anthony mallet.
2013-03-08 10:33:51 +00:00
christos f529593485 regression tests for wide char i/o. Currently there are failures. 2013-02-28 21:52:02 +00:00
christos 1790c3d9d5 remove the timeout; it is handled internally. 2013-02-28 15:56:53 +00:00
christos 1b48e11e47 skip the tests if rpcbind is not responding. 2013-02-27 18:39:58 +00:00
christos d7abae09ac Add a test for the rpc getaddr bug lib/13082.
Timeout added, but it needs rpcbind to be running to succeed.
2013-02-26 17:06:55 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
christos d2ff78394b don't brk the build. 2013-02-15 23:56:32 +00:00
christos 9bb501f7a5 look at my index finger 2013-02-15 23:27:19 +00:00
christos 81516a9702 - check the results of the vis functions
- zero output to make sure things work
- don't use encodings that don't work
- fix the style on decoding
2013-02-13 04:51:56 +00:00
christos e40152f801 check the results of encoding and decoding 2013-02-11 04:12:48 +00:00
mbalmer c826b564cf exitting -> exiting. 2013-01-27 14:47:37 +00:00
christos 1f1bab53b7 rename the only use of HAS_SSP in the tree to HAVE_SSP. 2013-01-27 02:32:39 +00:00
christos f564ab2a22 Don't include bsd.sys.mk; like sys.mk it is supposed to be used only
internally.
2013-01-26 21:58:41 +00:00
apb a39eba5e76 Test parsedate("@-2",...) (should return -2 and not set errno);
and parsedate("@junk",...) (should return -1 and set errno).
We were already testing "@-1".
2013-01-19 15:21:43 +00:00
apb 58e1304b9b * Test that parsedate("@0", ...) returns (time_t)0 regardless of timezone.
* Test that parsedate("@-1", NULL, NULL) returns (time_t)-1
  without setting errno.
2013-01-19 14:03:08 +00:00
pooka ef30804ef1 Use TESTS_SUBDIRS instead of SUBDIR to make these actually run.
Also, fixes build with /usr/xpg4/bin/sh
2013-01-14 13:37:57 +00:00
dholland ab137c90f7 Revert defective O_SEARCH implementation committed by manu@ along with
the *at system calls on November 18th of last year. Reasons to revert
it include:
   - it is incorrect in a whole variety of ways (but fortunately, one
     of them is that the missing and improper permission checks have
     no net effect);
   - it was committed without review or discussion;
   - core ruled that all the new O_* flags pertaining to the *at calls
     needed to wait until their semantics could be clarified.

manu was asked to revert it on these grounds but has ignored the request.

I have left O_SEARCH defined and visible and made open() explicitly
ignore it. This way, most code that tries to use it will continue to
build and run. I've also arranged lib/libc/c063/t_o_search.c so that
the tests that make use of the O_SEARCH semantics will disappear until
O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks
that were causing some of these to succeed despite the broken O_SEARCH
implementation.
2013-01-13 08:15:02 +00:00
martin 236eac060e Remove check for GLOB_NOCHECK - the behaviour has been changed again, so it
will return a modified pattern.
2013-01-02 11:28:48 +00:00
christos 3f1c66c5a0 - make our stat function return ENOENT if a file is not found.
- add a GLOB_NOMATCH check
2012-12-18 01:37:28 +00:00
jruoho f8b5dc2c31 Move the bitmap(3) test to the "right" place. Note it in bitops(3). Xrefs. 2012-12-04 06:57:44 +00:00
pgoyette 826c760e5d Helper programs are programs, not tests, so build them appropriately.
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +00:00
christos b8815f50dc Add a bitops test 2012-12-01 16:27:27 +00:00
martin b954a04ff6 Skip kqueue_unsupported_fd if the drvctl device is not present. 2012-11-29 09:13:44 +00:00
christos 0156034a08 Add a test for adding an event to an unsupported fd. 2012-11-24 15:05:45 +00:00
martin 5873910091 Split the test cases where root/non-root makes a difference in two and mark
them apropriately. Exact permission semantics are still under discussion,
this will have to be cleaned up once that discussion is settled.
For now, one test cases fails.
2012-11-23 08:24:20 +00:00
martin ee21bbfc8f 0-terminate strings returned by readlinkat 2012-11-22 20:17:48 +00:00
martin d875702485 Compare against modification time instead of creation time - which we did
not set.
2012-11-22 14:59:59 +00:00
martin 13981c9510 Fix off by one in static array acces, use valid timestamps (ns part < 1e9),
just in case a filesystem would need to convert this to some other
representation.
2012-11-22 14:51:19 +00:00
martin 26d64ddcc4 Mark a few tests that require root 2012-11-20 20:01:14 +00:00
martin 0b640008be Do not require tv_nsec to be != 0 but instead require equality with the
test value.
2012-11-19 16:07:56 +00:00
manu a76c1cc17f Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).

Also implement O_SEARCH for openat(2)

Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
alnsn 062bf78a84 Build libbpfjit test to the build. 2012-11-11 17:41:31 +00:00
alnsn 65b4b42177 Add libbpfjit test. 2012-11-11 17:37:34 +00:00
pgoyette 922089c955 More clean-up, and adjust timing of kevent test to avoid issues with
PR kern/43887
2012-11-09 20:13:24 +00:00
pgoyette 8ff87897e6 Remove unnecessary header file and an unused variable.
Adjust timing parameters to reduce overall elapsed time, and document
the parameters.
Clean-up status handling for kevent test.
Deal with QEMU timer-related issues (PR-43997).
2012-11-09 04:43:25 +00:00
pgoyette c75e6b56d0 Provide clear explanation of test-case failures. 2012-11-08 16:33:26 +00:00
pgoyette 57f73370f4 Remove a debug printf(), and fix the format in another.
Should resolve build break.
2012-11-08 04:58:44 +00:00
pgoyette 82f50f620a Convert old src/regress/timer&waiter tests to ATF 2012-11-08 03:13:47 +00:00
pgoyette 251231b58b Merge in the minimal test from the old src/regress/sys/kernel/sigtramp
test.
2012-11-07 16:51:16 +00:00
alnsn ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
alnsn a9b4cc4551 Add userspace libsljit test. Not hooked into build yet. 2012-11-05 00:34:28 +00:00
christos 6298c31a51 add missing includes 2012-11-04 23:37:02 +00:00
skrll 2392c04529 Simplify 2012-09-27 09:56:21 +00:00
martin d70931dac7 Add missing include <stdlib.h> 2012-09-27 08:19:18 +00:00
joerg fe9380cfbd Add regression test for cdbr(3) and cdbw(3). 2012-09-27 00:38:57 +00:00
christos 908d2159b9 make the test more precise. 2012-09-27 00:37:56 +00:00
joerg aef403d694 Fix year. 2012-09-26 22:23:30 +00:00
jruoho 85dbe713e8 Remove expected failures that no longer fail (probably due a Qemu update). 2012-09-26 07:24:38 +00:00
joerg 2b3d1ee8a7 Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
blymn a76c5dee4e * Add scanw family function calls as input functions 2012-09-19 11:51:56 +00:00
blymn d537772cd3 * Fix mvscanw return
* Fix the *vline family of calls, one argument is chtype not int
2012-09-19 11:51:08 +00:00
plunky baa3f70feb correct spelling of file to clean 2012-09-15 16:22:58 +00:00
manu bba80928a8 setcontext() used to be incompatible with -lpthread since it affected
the TLS pointer, therefore wrecking the pthread environement.

Some ports had _UC_TLSBASE flag or equivalent (_UC_UNIQUE on alpha)
that controlled whether setcontext() would change the TLS pointer.
This change let libpthread override setcontext() with its own version
that unsets _UC_TLSBASE, enabling safe usage of setcontext() with
-lpthread.

We also have the following required changes here:
- rename alpha's _UC_UNIQUE into _UC_TLSBASE
- add _UC_TLSBASE definition in header file for all ports
  (powerpc, sh3, sparc and sparc64 lack the implementation for now)
- introduce a libc stub that can be overriden for setcontext()
- modify MD libcs swapcontext() implementations so that they use the
  setcontext() libc stub instead of doing a plain system call.

While we are there:
- document various MD _UC_* flags in header file
- add libc and libpthread tests for swapcontext() behavior
  (hopefully helpful to spot MD problems introduced with this change)

Future work:
- Deciding whether kernel support or _UC_TLSBASE should be added for
  powerpc, sh3, sparc and sparc64 is left to portmasters
  sparc64

Approved by core@
2012-09-12 02:00:51 +00:00
martin 2b68f1748c Make this compile on archs where VM_MIN_ADDRESS is not defined (or not
exported to userland)
2012-09-08 12:25:05 +00:00
martin 69c011c56b Deal with architectures defining VM_MIN_ADDRESS > 0.
Add additional error code tests using a pointer one page past current brk.
2012-09-07 20:27:12 +00:00
christos 1375b73fd3 whitespace 2012-09-03 15:32:18 +00:00
jmmv e7d178251c Sanitize the regex test cases.
- Merge h_regex_att (att.c) and t_regex_att.sh into a single C test program.
  The former was really a test program, and the latter just a very strange
  driver for it.

- Stop using awk to generate the shell test programs.  This is unnecessary
  and confusing.  Instead, change t_regex.sh to generate the test case
  functions on the fly with eval (as done in many other places).
2012-08-24 20:24:39 +00:00
pgoyette 1cf0fdecbd Fix more fallout from the changes to nfsd's command-line options 2012-08-16 12:57:24 +00:00
christos cb461c6808 Exclude tests that use rump 2012-08-08 13:57:05 +00:00
riastradh 16b71d29d9 Implement link(2) in rumphijack. Add a couple trivial test cases. 2012-08-04 03:56:47 +00:00
christos 291dafda34 tests for recvmmsg 2012-06-22 18:45:23 +00:00
bouyer c3ff6f17e5 Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
only by accident. PR kern/46592.
2012-06-14 17:47:58 +00:00
njoly e1828ac1bb Skip sigbus_adraln testcase on alpha unless global
machdep.unaligned_sigbus sysctl is enabled.
2012-06-13 11:45:17 +00:00
christos c38c69a23f check thread limit 2012-06-12 23:56:19 +00:00
martin b0ac20cc38 Degrade all intermediate failures due to memory/resource shortage to
"skip" instead of "fail" - only if we get through to the real meat, we
can tell wether mlockall/mincore work or not.
2012-06-08 07:18:58 +00:00
martin fd9e5c02e3 Revert previous - instead of guessing the amount of needed memory locked
limits (often way too high) and skipping the test case if in doubt,
raise the limits as far as we can, and fix a few places in the test where
we could run into the limits and either skip or fail with a reasonable
message.
2012-06-07 09:59:51 +00:00
martin 7a598c266d Try to estimate the number of locked pages the mincore() test will need and
check it against resource limits, skipping the tests if it probably is too
low.
2012-06-05 08:44:21 +00:00
joerg fc67b0cd11 Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
joerg 49d8b9bb05 Spell NetBSD correctly. 2012-06-03 02:10:46 +00:00
martin 86b8339d8d adapt to new reality 2012-06-02 16:52:18 +00:00
njoly f567e6f954 Adjust test for recent atf_machine (amd64) -> atf_arch (x86_64)
change.
2012-06-02 14:52:28 +00:00
martin 9c63b84225 Do not skip the block device mmap test, as it does not crash
the kernel any more. Mark it as expected failure instead.
2012-06-01 15:59:21 +00:00
martin 78b7b66d90 Add a (skipped for now) test case for PR 46463 2012-05-31 20:31:07 +00:00
jruoho 88bb4c68e1 Add patch from Tetsuya Isaki in PR lib/46433. 2012-05-30 15:14:10 +00:00
jruoho c4e17f798c Use "atf_arch" instead of "atf_machine"; see atf-config(1). 2012-05-30 15:11:58 +00:00
martin f124f6239d Skip test on non-amd64 machines for now, pointing to PR 46490. 2012-05-30 06:01:22 +00:00
martin 8fa6d6191d Not a good idea to continue testing if basic assertions fail - only will
cause core dumps later.
2012-05-28 09:51:34 +00:00
martin a0f17796a7 Fix destination directory 2012-05-27 22:57:24 +00:00
christos a534436e93 one too many e's 2012-05-27 19:21:26 +00:00
christos d1cc87bd78 hook in libexecinfo 2012-05-27 18:52:16 +00:00
christos 5212b5c3e8 add a test for the backtrace function. 2012-05-27 18:47:18 +00:00
martin 3a550d746a Simplify creation of a temporary file slightly, fix sizeof(buf) confusion
when buf is a pointer.
2012-05-23 16:08:32 +00:00
martin 6a653c6635 Typo in comment 2012-05-22 09:23:39 +00:00
martin 6c3cc552c2 Calling _lwp_create() with a bogus ucontext could trigger a kernel
assertion failure (and thus a crash in DIAGNOSTIC kernels). Independently
discovered by YAMAMOTO Takashi and Joel Sing.

To avoid this, introduce a cpu_mcontext_validate() function and move all
sanity checks from cpu_setmcontext() there. Also untangle the netbsd32
compat mess slightly and add a cpu_mcontext32_validate() cousin there.

Add an exhaustive atf test case, based partly on code from Joel Sing.

Should finally fix the remaining open part of PR kern/43903.
2012-05-21 14:15:16 +00:00
martin cfbccd804b mmap_block:
do not use a hardcoded block device list, but query the kernel for attached
disks instead, then try to mmap the raw partition.
2012-05-16 19:12:59 +00:00
jruoho 5c4e704752 Remove also redundant comment (the reference to the PR is already in the
metadata).
2012-05-16 13:54:28 +00:00
martin 7c32638bb1 Simplify the test for PR kern/4645 and make it independend of resource
settings.
2012-05-16 13:48:35 +00:00
wiz d00eda4ad2 Fix typo in comment. 2012-05-16 11:45:08 +00:00
martin 90aaec5d8a Enable the test for PR kern/46457 now that it does not crash the
kernel any more.
2012-05-16 09:51:58 +00:00
jruoho b1a7d876eb Add a case for PR kern/46457. This is skipped for the time being, as it
reproduces the panic described in the PR.
2012-05-16 09:06:35 +00:00
alnsn c5290ad075 Test a bug found by Geza Herman. 2012-05-15 18:46:20 +00:00
martin c06a8560ae Revert previous, si_addr is expected to be the faulting *data* address
(mmm, consistent standards).
Add a few tweaks to prevent the compiler's optimizer outsmarting the test.
2012-04-23 15:07:56 +00:00
martin 51f1919a26 Do not compare si_addr (address of faulting instruction) against the
unaligned data address causing the fault - this will always fail.
If anybody knows a portable way to get the data address involved in the
fault, please fix the test case as originally intended.
2012-04-22 08:52:26 +00:00
jruoho 2ef8e9d811 Avoid harmless compiler (integer) warnings. 2012-04-21 01:15:13 +00:00
jruoho 71224831e0 Add few unit tests for mlock(2), including a case for PR kern/44788. 2012-04-20 12:11:29 +00:00
jruoho c69613ea1e Close all file descriptors before trying to reason about the number of open
descriptors. Should fix the test failures reported on current users.
2012-04-20 05:15:11 +00:00
jym c5252d3225 ATF test for SIGBUS => BUS_ADRALN (invalid address alignment).
That one is tedious to test under x86: alignment exceptions are
not reported by this architecture unless you ask for them explicitely (by
setting the PSL_AC bit). The brokenness does not end there: %cr2 should
contain the address where the unaligned access occured, alas, it does not.

I am not aware of other architectures where this could happen. Still, my
knowledge is limited; if there is one, feel free to send me a mail and I
will update the test accordingly.

Adding insult to injury, this test can fail in various funny ways with VMs:
- under x86 QEMU, no trap() happens. As ring 3 code stays almost untouched by
QEMU VMM, I suppose the exception can only be triggered when the host
itself is capable of catching unaligned accesses.
- under Virtual Box with HVM support, i386 works fine, but amd64 fails with a
SIGILL (Illegal instruction) that happens right before entering the
signal handler. No idea why, and trying to debug it with gdb freezes the VM
(including ddb breaks).

Anyway, tested with:
- i386: P4 host, anita, Virtual Box HVM (Mac OS X)
- amd64: anita, Virtual Box HVM (Mac OS X)

XXX I would appreciate if someone could test it under a real amd64 host with
an up-to-date kernel, so I can reasonably assume that the culprit is
Virtual Box and not our amd64 port (my test machine being off line
I cannot do it myself). Results from other arches would be a plus too.

Initial issue reported by Nicolas Joly on port-amd64. Thanks!
2012-04-20 00:40:31 +00:00
jruoho f95573c233 Return from main() and use EXIT_FAILURE/EXIT_SUCCESS from stdlib(3). 2012-04-17 09:23:21 +00:00
njoly d2c0752725 Do not re-add -mieee option on alpha, it's already set by default. 2012-04-13 12:31:19 +00:00
jruoho 93242fdaae Xfail on qemu unconditionally after all. 2012-04-13 06:10:55 +00:00
jruoho 6c8d572a17 Reduce the number of snprintf(3) invocations, as sparc/qemu timeouts. 2012-04-11 16:21:42 +00:00
jruoho 1fea472283 Flip previous (i386/qemu fails, not the amd64/qemu). 2012-04-11 16:18:39 +00:00
jruoho a141b66fc2 Revisit the previous: fails on qemu/amd64 but not qemu/i386. 2012-04-11 10:18:25 +00:00
jruoho 3964c8242c As it turned out, the fpsetmask(3) tests were unnecessarily skipped on Qemu.
Thus, remove xfails that do not trigger.
2012-04-11 06:45:16 +00:00
jruoho fd6c1df52d Do not skip the tests on Qemu, but point to PR misc/44767 instead. 2012-04-10 12:43:06 +00:00
jruoho 97f06f6fb9 Point to port-macppc/46319 when failing on macppc. 2012-04-10 03:59:59 +00:00
martin 4e00857f25 Fix asynchronous posix_spawn child exit status (and test for it). 2012-04-09 19:42:06 +00:00
martin 94b761b6aa Rework posix_spawn locking and memory management:
- always provide a vmspace for the new proc, initially borrowing from proc0
   (this part fixes PR 46286)
 - increase parallelism between parent and child if arguments allow this,
   avoiding a potential deadlock on exec_lock
 - add a new flag for userland to request old (lockstepped) behaviour for
   better error reporting
 - adapt test cases to the previous two and add a new variant to test the
   diagnostics flag
 - fix a few memory (and lock) leaks
 - provide netbsd32 compat
2012-04-08 11:27:44 +00:00
jruoho 8c481fc14f Append few basic test cases. 2012-04-08 09:58:59 +00:00
jruoho ff8307152c Remove one xfail that does not seem to fail (on alpha). 2012-04-08 09:36:04 +00:00
jruoho 68f1ec4f2e Point to PR port-alpha/46301 when failing on Alpha. 2012-04-06 08:07:32 +00:00
jruoho 018955d46b Adjust. 2012-04-06 07:53:10 +00:00
joerg b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg be8014a7fa Try fixing t_strtod to not depend on -ffloat-store by adding the
necessary volatiles.
2012-04-04 10:52:59 +00:00