1# utest/core
2
3The "core" tests exist for one main purpose:
4To test basic functionality when things like devmgr aren't working.
5
6If the kernel is told to run core-tests instead of devmgr, these tests
7will run without any userspace device manager, device drivers, io plumbing,
8etc.
9
10## Example usage
11
12```
13./scripts/run-zircon-x64 -c userboot=bin/core-tests
14./scripts/run-zircon-arm64 -c userboot=bin/core-tests
15```
16
17## Notes
18
19The tests here are for "core" functionality (channels, etc.), but
20not all "core" functionality can go here.  For example, you can't
21start a process in your test with launchpad because core tests are for
22when that functionality isn't working.  Core tests can't use fdio and
23launchpad uses fdio.
24
25Since these tests can't use fdio core/main.c stubs out the needed
26functions from fdio.
27