| Age | Commit message (Collapse) | Author |
|
isQEMU_TCG() should return false. Fixes multiple test cases that were
failing with "Test case was expecting a failure but none were raised"
on that platform.
|
|
consecutive sem_open() calls do not return the same address
|
|
|
|
|
|
|
|
|
|
user code
The goal is to fully support FUSE API version 3.0 while maintaining
API/ABI compatibility with code written for 2.6 (or even older).
* <fuse.h> now emits a compiler warning if it's included without
defining FUSE_USE_VERSION. It had been silently defaulted to the
latest supported version prior to this change. This is permissive
compared to the original FUSE, as it emits an error instead.
* <fuse.h> now emits a warning if FUSE_USE_VERSION is higher than what
can be provided.
* Added a macro FUSE_MAKE_VERSION(maj, min). It was missing from
librefuse <fuse.h>.
No actual API updates have been made (yet).
|
|
the t_sig_backtrace test case on ARM when compiled with optimization.
|
|
|
|
I also deduplicated some more code
|
|
|
|
|
|
|
|
|
|
for each call separately and update check files to reflect changed
behaviour due to a fix to related calls.
|
|
Mark it as an expected failure with a reference to PR kern/54184.
|
|
needs to be the C source file (not the base name)
|
|
|
|
QEMU misses clock interrupts.
Always check values against [ lower, upper ] bounds and use "4 * upper"
when run under QEMU.
Now becomes part of PR kern/43997 "Kernel timer discrepancies".
|
|
|
|
with a reference to PR lib/55087. Marking it as an expected failure
would be more appropriate, but that doesn't work for test cases that
fail by timing out.
|
|
|
|
|
|
making sure input salts are decoded as base64.
|
|
from the argon2 test suite.
|
|
has read enough that exactly PIPE_BUF space is available that the FIFO
becomes writable again.
- When creating a FIFO, ensure that the receive low water mark is 1
(a FIFO must be readable when at least 1 byte is available); this
was already the case implicitly, but this makes it explicit.
- Similarly, set the send low water mark to PIPE_BUF to ensure that
the pipe is writable when at least PIPE_BUF bytes of space are available
in the send buffer. Without this change, the strengthened test case
above does not pass (the default send low water mark is larger than
PIPE_BUF; see soreserve()).
- Make the same low water mark changes to the PIPE_SOCKETPAIR case.
|
|
behavior for FIFOs:
- A FIFO is readable so long as at least 1 byte is available.
- A FIFO is writable so long as at least PIPE_BUF (obtained with _PC_PIPE_BUF)
space is avaiable.
This will be cloned for a forthcoming kevent test case.
|
|
new writer appears.
|
|
POLLHUP, per POSIX.
- fifo_close(): Use the new fifo_socantrcvmore(), which is like the
garden-variety socantrcvmore(), except it specifies POLL_HUP rather
than POLL_IN (so the correct code for SIGIO is sent).
- sowakeup(): Allow POLL_HUP as a code (notifies poll'ers with POLLHUP).
- Add test cases for correct POLLHUP behavior with FIFOs.
Fixes PR kern/56429.
|
|
|
|
the Linux interfaces of the same name.
|
|
|
|
|
|
|
|
This case is currently not handled correctly by fwrite/fflush, which
makes the test fail sometimes. The tests for _IONBF and _IOLBF are
pretty stable though.
|
|
Regen addstr2.chk after fix for the line-hash bug in libcurses.
Now, all t_curses tests successfully pass on all platforms I have tried.
Thanks blymn@ for kind advice!
|
|
In case of a test failure, this outputs a diff between the actual and
expected files.
Even with the smaller buffer size LMAX, the fully buffered test fails.
It does so after printing numbers up to 12773, which together take 65532
bytes. The next number, 12774, would cross the 65536 boundary, but
instead of that number, 12710730 was written.
|
|
Previously, the test output was:
FAILED: Test case body returned a non-ok exit code, but this is
not allowed
In many cases, the test now succeeds, but in some cases it fails:
h_testnumbers: bad line "1287185
", expected 12774
h_testnumbers: bad line "6186889
", expected 6154889
|
|
On amd64, the test stdio_intr_iofbf fails:
stdout: numbers.in...iw.ir.ir. OK
stderr: h_testnumbers: bad line 3914889
This information is not enough to get a complete picture of the
situation, so provide more details.
|
|
- Reorganize logic to reduce indent levels significantly.
- Use ``for'' rather than ``while''.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
done for aarch64, arm, and powerpc. Otherwise, child is trapped to the
PTRACE_BREAKPOINT_ASM (== trapa) instruction indefinitely.
Fix tests/lib/libc/sys/t_ptrace_wait*:core_dump_procinfo.
|
|
|
|
|
|
|