aboutsummaryrefslogtreecommitdiffstats
path: root/sys/fuchsia/test
Commit message (Collapse)AuthorAgeFilesLines
* sys/fuchsia: add test for stream syscall definitionsLaura Peskin2022-11-231-0/+34
| | | | | | | | Also added a `zx_offset` resource type to stream.txt, since the syscall interface uses a distinguished type for offsets here; used `intptr` for sizes and `flags` for options; updated const lists and definitions; corrected in/out direction for a few pointers.
* sys/fuchsia: add test for socket syscall descriptionsLaura Peskin2022-11-231-0/+37
| | | | | | Also updated the constant files and added 0x0 as a valid option for `zx_socket_read` (to consume buffered data, as opposed to 0x8 = ZX_SOCKET_PEEK)
* sys/fuchsia: add test for handle syscall descriptionsLaura Peskin2022-11-231-0/+48
|
* sys/fuchsia: add test for vmar syscall descriptionsLaura Peskin2022-11-171-0/+57
| | | | | | | | | | | Also made some small updates to the vmar descriptions: - In a few places, a `len` arg was incorrectly tagged as the length of another arg when it actually represents a region size; fixed. - The `buffer` and `buffer_size` args to `zx_vmar_op_range` must be null; replaced with constants. - Added a `zx_vaddr` resource type wrapping `intptr` and used it in place of `vma`, since it's not clear how to use `vma` as the pointee type of an outptr in a program.
* sys/fuchsia: add test for job syscallsLaura Peskin2022-11-151-0/+46
| | | | | | | This change also makes a couple of small updates to job.txt: - Express the documented limit of 1 policy struct when using the TIMER_SLACK option to set policy - Include padding in policy struct definition
* sys/fuchsia: update the port system calls (#3348)Marco Vanotti2022-08-311-0/+5
| | | | | Also adds a test for zx_port_* Co-authored-by: Aaron Green <aarongreen@google.com>
* sys/fuchsia: update event and eventpair system calls (#3320)Chris Palmer2022-08-292-0/+8
| | | | | events.txt is split between event.txt and eventpair.txt Co-authored-by: Aaron Green <aarongreen@google.com>
* sys/fuchsia: Add cprng and vmo tests.Marco Vanotti2020-03-212-0/+7
| | | | | This commit adds two new tests for fuchsia. One tests a basic syscall (zx_cprng_draw), and the other does multiple tests over a vmo.
* pkg/runtest: fixes for fuchsiaDmitry Vyukov2018-09-061-0/+1
| | | | | | | Add simple fuchsia program, the one that is run during image testing. Fix csource errno printing for fuchsia. Fix creation of executable files (chmod is not implemented on fuchsia). Check that we get signal/coverage from all syscalls.
* tools/syz-runtest: add tool for program unit testingDmitry Vyukov2018-08-032-0/+12
The tool is run as: $ syz-runtest -config manager.config This runs all programs from sys/*/test/* in different modes on actual VMs and checks results. Fixes #603