| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
systems. Use a proper sleep using usleep(100) instead.
|
| |
|
|
|
|
|
|
| |
little sense here since there are multiple possible errnos that could
be returned. On OpenBSD this returns EISDIR and not EBUSY.
OK mbuhl@ millert@
|
|
|
|
|
| |
the directory and so checking against getgid() makes no sense.
OK mbuhl@ millert@
|
|
|
|
|
| |
closed.
OK mbuhl@ millert@
|
|
|
|
| |
on why this occasionally fails.
|
| |
|
|
|
|
|
| |
Don't test waitid(WUNTRACED) as that's not portable and only 'works' due
to an implementation decision
|
|
|
|
|
|
| |
wait6(2) tests.
ok millert@, deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
| |
causing EACCESS as opposed of ESDIR to be returned while trying to
truncate a directory as a user lacking write permissions to the same
directory. As this behavior is reasonable, change the truncate directory
from /etc/ to /tmp which makes the test pass both as root and non-root.
|
|
|
|
|
| |
which was an implementation detail and has been deleted, so
delete the test
|
|
|
|
|
|
| |
also whack some sys/cdefs.h early includes which is such a brutally
bad pattern
ok bluhm mbuhl
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert
|
|
|
|
|
| |
by changing my regress environment instead. This reduces the delta to the NetBSD
upstream.
|
|
|
|
| |
OK bluhm@
|
|
|
|
|
|
| |
Add ulimit -c unlimited before running the tests like it is done in
other places in regress.
OK bluhm@
|
|
|
|
| |
ok bluhm@
|
| |
|
|
|
|
|
| |
exec/exit with vfork.
OK bluhm@
|
|
|
|
| |
OK bluhm@
|
|
|
|
| |
ok bluhm@
|
| |
|
|
|
|
|
|
|
| |
did not terminate anymore on some machines. The test counts 100
send errors before it finishes. NetBSD has added sched_yield() in
the receiver loop to trigger the errors on the sender side. Although
not perfect, it works for me. Get current t_sendrecv.c from NetBSD.
|
| |
|
| |
|
|
|
|
| |
pass when run as non root.
|
| |
|
|
|
|
|
|
|
| |
to document differences to NetBSD behaviour, this helps to track
upstream. Mark currently failing test as expected failures. So
test programs get compiled and executed, but it shows that further
investigation is necceassry.
|
|
|
|
|
|
|
|
| |
syscall. So whenever we pass a bad address we get a SIGSEGV instead of
EFAULT. POSIX explicitly allows this behaviour. So adjust the test
to deal with this case.
ok deraadt@, millert@, guenther@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Note that the last test triggers a kernel bug related to waitpid(9) and
ptraced processes. This is now visible thanks to recent make(1) changes.
guenther@ suggests to look at the logic behind `p_orphan' in FreeBSD to
fix this bug.
|
| |
|
|
|
|
| |
from Moritz Buhl
|
|
ATF (Automated Testing Framework), so we use a small wrapper to map
it to our bsd.regress.mk framework. Only half of the 80 NetBSD
tests have been taken, the others need more work to adapt. Of them
34 syscall tests pass.
Moritz Buhl ported the tests to OpenBSD.
|