| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This depends on the illumos-os-tests port I just imported and can be
linked to the build once guenther lands the close-on-fork diff.
Adapted from an initial diff by Ricardo Branco
|
| |
|
|
|
|
|
| |
mistaknely made the write buffer usable even if the stream is read
mode. See the change of lib/libc/stdio/fpurge.c,v 1.11.
|
|
|
|
| |
has been read or that has not.
|
|
|
|
| |
And switch test___freadahead to use another version that uses fflush().
|
|
|
|
| |
Silences an annoying warning when running tests with ASAN.
|
|
|
|
| |
pushed-back wchar_t chars.
|
| |
|
| |
|
|
|
|
| |
previous commit.
|
|
|
|
|
|
| |
reading FILE objects. It will fail until fflush() complies POSIX-2008.
ok tb asou
|
| |
|
| |
|
|
|
|
| |
Now that libc is fixed, we can do this also for md5, rmd160 and sha1.
|
| |
|
|
|
|
| |
Prompted by a pending diff by claudio
|
|
|
|
|
|
|
|
| |
Some OS declare arc4random() with __attribute__((warn_unused_result))
causing this test to whine. So explicitly ignore the return value.
Reported by scheiba in libressl/portable
Fixes #1151
|
| |
|
|
|
|
| |
systems. Use a proper sleep using usleep(100) instead.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Designed to let userland peek at AT_HWCAP and AT_HWCAP2 using an already
existing interface coming from FreeBSD. Headers bits were snatched from
there. Input & ok kettenis@
libc bump and sets sync will follow soon
|
|
|
|
|
| |
the very end of the page. Circumvent that. Reported by and fix ok
anton@
|
| |
|
| |
|
|
|
|
| |
From Christian Andersen
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
SIGABRT, to avoid the "Abort trap" message, which confuses me sometimes
until I realize it's the purpose of this test to abort.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On free, chunks (the pieces of a pages used for smaller allocations)
are junked and then validated after they leave the delayed free
list. So after free, a chunk always contains junk bytes. This means
that if we start with the right contents for a new page of chunks,
we can *validate* instead of *write* junk bytes when (re)-using a
chunk.
With this, we can detect write-after-free when a chunk is recycled,
not justy when a chunk is in the delayed free list. We do a little
bit more work on initial allocation of a page of chunks and when
re-using (as we validate now even on junk level 1).
Also: some extra consistency checks for recallocaray(3) and fixes
in error messages to make them more consistent, with man page bits.
Plus regress additions.
|
|
|
|
| |
having flags set.
|
| |
|
|
|
|
|
| |
errors which should cause abort. A few are not enabled yet, they
will be once the corresponding diffs in malloc are committed.
|
| |
|
| |
|
|
|
|
|
| |
Don't test waitid(WUNTRACED) as that's not portable and only 'works' due
to an implementation decision
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getopt(3) returns '?' when it encounters a flag not present in the in
the optstring or if a flag is missing its option argument. We can
handle this case with the "default" failure case with no loss of
legibility. Hence, remove all the redundant "case '?':" lines.
Prompted by dlg@. With help from dlg@ and millert@.
Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
ok naddy@ millert@ dlg@
|
| |
|
|
|
|
|
|
| |
need in order to run.
Also, output the expected SKIPPED string as dictated by bsd.regress.mk.
|
|
|
|
| |
files.
|
|
|
|
| |
Struct tm is limited by it's year being an int.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This regression tests time conversion across various
limits, leap seconds, and daylight transistions.
gmtime_r, localtime_r, timegm, and mktime are
tested against themselves and expected outputs.
It requires the "posix" and "right" zoneinfo to be
installed on the test running machine in order to
access testable time zones. If those are not present
the test is skipped successfully with a warning.
|