aboutsummaryrefslogtreecommitdiff
path: root/tests/core/sys
Commit message (Collapse)AuthorAgeFilesLines
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days1-3/+3
|
* kqueue: fix bsds, add user filter, add struct testsLaytan Laats2026-01-113-0/+177
|
* Fix nfds_t alias for LinuxHarold Brenes2025-12-202-0/+3
|
* Revert "temp log for more info about semid_ds fail"Laytan Laats2025-11-081-2/+0
| | | | This reverts commit fb50a548f75a835d0edeccc57f28df62b059d481.
* debug offsetsLaytan Laats2025-11-082-0/+10
|
* temp log for more info about semid_ds failLaytan Laats2025-11-081-0/+2
|
* Increase timeout for `posix.test_pthreads`.Jeroen van Rijn2025-10-101-3/+3
|
* Fix test inet_pton call in test_arpa_inetHarold Brenes2025-09-291-1/+1
|
* Fix tests for UTF-16 stringsgingerBill2025-08-023-4/+5
|
* Remove unneeded uses of `intrinsics.constant_utf16_cstring`gingerBill2025-08-022-3/+3
|
* Fix #5452Jeroen van Rijn2025-07-111-0/+33
|
* Remove altogether.Jeroen van Rijn2025-06-241-16/+1
|
* Disable two tests under core/sys/posix.Jeroen van Rijn2025-06-241-0/+10
|
* Fix `WAVEFORMATEX` struct size (#5356)David Holland2025-06-182-2/+7
| | | | | * fix WAVEFORMATEX struct size * fix size test for WAVEFORMATEX * pack WAVEFORMATEXTENSIBLE
* fix addrinfo struct defLaytan Laats2025-02-122-0/+3
| | | | Fixes #4816
* Haiku: add posix testsavanspector2025-01-104-18/+54
|
* fix thread_unix for Darwin after pthread corrections in posix packageLaytan Laats2024-10-302-0/+48
| | | | | | | | | | | | | | | | | | | | | | | afed3ce removed the sys/unix package and moved over to sys/posix, it has new bindings for the pthread APIs but should have been equivalent (not). 8fb7182 used `CANCEL_ENABLE :: 0`, `CANCEL_DISABLE :: 1`, `CANCEL_DEFERRED :: 0`, `CANCEL_ASYNCHRONOUS :: 1` for Darwin, while the correct values are `1`, `0`, `2` and `0` respectively (same mistake was made for FreeBSD in that commit). What this meant is that the `pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS)` was not actually successful, but because the error wasn't checked it was assumed it was. It also meant `pthread_setcancelstate(PTHREAD_CANCEL_ENABLE)` would actually be setting `PTHREAD_CANCEL_DISABLE`. The code in this PR restores the behaviour by now actually deliberately setting `PTHREAD_CANCEL_DISABLE` and not setting `PTHREAD_CANCEL_ASYNCHRONOUS` which was the previous behaviour that does actually seem to work for some reason. (I also fixed an issue in fmt where `x` would use uppercase if it was a pointer.)
* fix testLaytan2024-10-281-1/+1
|
* sys/posix: impl rest of linux, impl some of WindowsLaytan Laats2024-10-284-17/+10
|
* remove posix signal test, it isn't thread safeLaytan Laats2024-10-031-48/+0
|
* Merge pull request #4203 from karl-zylinski/file-tags-without-commentsgingerBill2024-09-1910-10/+10
|\ | | | | Make tags use #+ syntax instead of //+
| * Changed some recently added //+ usages to #+ and also fixed some //+ usages ↵Karl Zylinski2024-09-171-1/+1
| | | | | | | | in some code generators.
| * Merge branch 'master' into file-tags-without-commentsKarl Zylinski2024-09-171-0/+3
| |\
| * | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-149-9/+9
| | | | | | | | | | | | file tag syntax.
* | | fix it moreLaytan Laats2024-09-171-1/+1
| | |
* | | fix error interrupt error checkLaytan Laats2024-09-171-1/+1
| |/ |/|
* | Check for `EINTR` in `sys/posix` testFeoramund2024-09-151-0/+3
|/
* fix style, ensure we compile with flags `-vet -strict-style -disallow-do`Fakhri Mouad2024-08-281-29/+27
|
* fix indentation in test fileFakhri Mouad2024-08-281-11/+11
|
* avoid using `do` statement in odin codebaseFakhri Mouad2024-08-281-9/+14
|
* Add Win32 procs needed to handle clipboardFakhri Mouad2024-08-281-0/+52
|
* fix `open` bindingsLaytan Laats2024-08-161-0/+21
| | | | | | | | | | `open` specifies the `mode` argument as vararg (presumably to make it optional). varargs actually have rules about casting, in this case the rule that any integer arg of size <= 4 has to be casted to `i32` before passing it. Not doing that implicit cast makes the permissions wrong or not apply at all.
* posix/os2: fix test and add back in removed temp guardLaytan Laats2024-08-141-5/+0
|
* posix: actually fix netbsd testLaytan Laats2024-08-141-0/+1
|
* posix: fix test on netbsdLaytan Laats2024-08-141-4/+15
|
* posix: more testsLaytan Laats2024-08-141-3/+74
|
* posix: add packageLaytan Laats2024-08-145-0/+517
|
* rawinput codeThomas la Cour2024-08-081-0/+13
|
* removed some commentsThomas la Cour2024-07-261-5/+0
|
* removed old test stuffThomas la Cour2024-07-261-67/+1
|
* win32genThomas la Cour2024-06-116-7/+1181
|
* windows bindings testThomas la Cour2024-06-115-0/+933