kamil
ac9ae533a1
Move core tests out of t_ptrace_wait.c to t_ptrace_core_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 01:24:29 +00:00
kamil
6ca9c4c6fc
Move siginfo tests out of t_ptrace_wait.c to t_ptrace_siginfo_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:57:34 +00:00
kamil
373d242e6e
Move threads tests out of t_ptrace_wait.c to t_ptrace_threads_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:50:39 +00:00
kamil
29ff229651
Move topology tests out of t_ptrace_wait.c to t_ptrace_topology_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:33:37 +00:00
kamil
6afb1960b8
Move exec() tests out of t_ptrace_wait.c to t_ptrace_exec_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:23:12 +00:00
kamil
fadd423b64
Move LWP tests out of t_ptrace_wait.c to t_ptrace_lwp_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:15:45 +00:00
kamil
f74903642d
Remove the duplicate ATF_TP_ADD_TC() entries
...
Event mask tests are already defined in
ATF_TP_ADD_TCS_PTRACE_WAIT_EVENTMASK().
2020-05-05 00:03:49 +00:00
kamil
bb8e4b817e
Move eventmask tests out of t_ptrace_wait.c to t_ptrace_eventmask_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-05 00:01:14 +00:00
kamil
8f6a1c9ed3
Remove the duplicate ATF_TP_ADD_TC() entries
...
Byte transfer tests are already defined in
ATF_TP_ADD_TCS_PTRACE_WAIT_BYTETRANSFER().
2020-05-04 23:53:20 +00:00
kamil
a0f774c8c6
Move signal tests out of t_ptrace_wait.c to t_ptrace_signal_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 23:49:31 +00:00
kamil
70aa5111f3
Move fork/vfork/posix_spawn tests out of t_ptrace_wait.c to t_ptrace_fork_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 22:34:22 +00:00
kamil
aab911e8f8
Bump (c) year
2020-05-04 22:24:31 +00:00
kamil
7c347f59c8
Move clone() tests out of t_ptrace_wait.c to t_ptrace_clone_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 22:15:23 +00:00
kamil
cacb90637f
Move byte transfer tests out of t_ptrace_wait.c to t_ptrace_bytetransfer_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 22:05:28 +00:00
kamil
fffa14ce79
Move kill()-like tests out of t_ptrace_wait.c to t_ptrace_kill_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 21:55:12 +00:00
kamil
b1a00b5909
Move PT_STEP tests out of t_ptrace_wait.c to t_ptrace_step_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 21:33:20 +00:00
kamil
7ecec66137
Move syscall tests out of t_ptrace_wait.c to t_ptrace_syscall_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 21:21:30 +00:00
kamil
bc8c7c1627
Move register tests out of t_ptrace_wait.c to t_ptrace_register_wait.h
...
The same tests are now included with the preprocessor in t_ptrace_wait.c.
No functional change intended.
2020-05-04 20:55:48 +00:00
thorpej
862dc4c75a
Add a test case for PR kern/55230. It is currently marked as expect-fail.
2020-05-04 15:09:34 +00:00
christos
ca7e4587fd
KMODULEDIR is no longer absolute (${DESTDIR} is added to it by the system
...
makefile because we need to install the module in two places the debug part
and the regular part)
2020-05-01 22:24:18 +00:00
christos
1f20091d65
no need for alloca() (breaks SSP)
2020-05-01 21:35:30 +00:00
isaki
e1f09352b2
Fix two tests.
...
- kqueue_mode_{RDONLY,RDWR}_READ: Fix expected value.
This is rest of rev1.9.
- AUDIO_SETINFO_params_simul: Fix condition.
This happens on full-duplex, not bi-directional.
These affect only standalone test, not atf.
2020-05-01 05:45:57 +00:00
thorpej
6809e70297
Oops, accidentally #if 0'd some tests, probably while debugging
...
something else. Correct this silly mistake.
2020-05-01 01:44:30 +00:00
ryo
1da5a7c800
Add a test for sigaltstack(2) and SA_ONSTACK
2020-04-30 11:03:29 +00:00
thorpej
1a07681a27
- In uvm_voaddr_acquire(), take an extra hold on the anon lock obj.
...
- In uvm_voaddr_release(), if the anon ref count drops to 0, call
uvm_anfree() rather than uvm_anon_release(). Unconditionally drop
the anon lock, and release the extra hold on the anon lock obj.
Fixes a panic that occurs if the backing store for a futex backed by
an anon memory location is unmapped while a thread is waiting in the
futex.
Add a test case that reproduced the panic to verify that it's fixed.
2020-04-30 04:18:07 +00:00
riastradh
f3c622e1ff
Make FUTEX_WAIT_BITSET(bitset=0) fail with EINVAL to match Linux.
2020-04-28 17:27:03 +00:00
thorpej
276ef22378
Add a NetBSD native futex implementation, mostly written by riastradh@.
...
Map the COMPAT_LINUX futex calls to the native ones.
2020-04-26 18:53:31 +00:00
maxv
8d6f67019a
Add a test on the maximum number of slots.
2020-04-26 12:13:10 +00:00
maxv
4cc4c6ebbe
Split in sub-tests for clarity, and add a new test, marked as expected
...
failure for now.
2020-04-26 11:56:38 +00:00
maxv
e497fc86e6
Add tests on the x86 PTEs. We scan the MMU page tables directly and verify
...
certain properties.
2020-04-26 09:08:40 +00:00
kre
0bcbd6c97f
ATF runs shell script tests with "sh -e" (WHY???)
...
Compensate for that by adding an explicit test to a command so
-e will not kill the shell when the command (expectedly) fails.
Previously this was saved by /bin/sh disabling -e in command subs.
2020-04-24 14:29:19 +00:00
kamil
bac29421d5
Reduce assumptions about LWP numbers
2020-04-24 12:17:45 +00:00
thorpej
6fd6e9aadc
Update for new LWP behavior -- as of 9.99.59, the LWP ID of a single-LWP
...
process is the PID, not 1.
2020-04-24 03:25:20 +00:00
joerg
422dd9f190
Replace noatf global with conditional compilation
2020-04-23 00:31:51 +00:00
joerg
f75c59c79e
saved_output is owned by director.c
2020-04-23 00:30:08 +00:00
thorpej
d5cd44f45c
Remove unit tests for the never-exposed _lwp_gettid(2).
2020-04-22 21:28:02 +00:00
joerg
4a60ab4bb4
Provide SHLIBINSTALLDIR explicitly as it defauls to /lib otherwise and
...
makes ld complain about the 64bit libc.
2020-04-20 12:08:08 +00:00
kre
d36f2da068
Define TESTSDIR even when not amd64 so the Atffile will be
...
installed in the correct location.
2020-04-19 18:07:00 +00:00
maxv
7ee848d944
Add tests for USER_LDT.
2020-04-19 13:22:58 +00:00
christos
a7c92d4c47
Oops, need the header too.
2020-04-18 17:45:16 +00:00
christos
37baba21c7
PR/55177: Carlo Arenas: mremap(MAP_REMAPDUP) fails after fork()
2020-04-18 17:44:53 +00:00
kamil
4aca7fab96
Switch from C11 specific static_assert() to __CTASSERT()
2020-04-17 22:53:52 +00:00
kamil
579da1aebb
Add timeout to syscall_signal_on_sce that hangs from time to time
2020-04-14 22:37:24 +00:00
christos
97cf9247a5
make sure that 0 length files get their extattrs cleaned up on deletion
...
(there was an optimization to not call truncate if size == 0).
2020-04-12 23:52:20 +00:00
gson
ce24a0bfcd
Double the timeout for the bn test case; 360 seconds is no longer
...
sufficient under qemu since the latest openssl update.
2020-04-11 16:55:33 +00:00
christos
34f2ea29f7
New extended attributes test (does not work until we commit kernel changes)
2020-04-10 22:58:47 +00:00
thorpej
98a9cebbb6
Add support for lazily generating a "global thread ID" for a LWP. This
...
identifier uniquely identifies an LWP across the entire system, and will
be used in future improvements in user-space synchronization primitives.
(Test disabled and libc stub not included intentionally so as to avoid
multiple libc version bumps.)
2020-04-04 20:20:12 +00:00
christos
a31f32280c
Add path.
2020-04-02 00:00:16 +00:00
christos
49c579d18d
more cleanup
2020-04-01 01:51:02 +00:00
christos
0dd6d756c6
factor out common code and set the path.
2020-04-01 01:49:26 +00:00