-
-
Notifications
You must be signed in to change notification settings - Fork 606
Testing POSIX APIs on OSv
Geraldo Netto edited this page Oct 31, 2018
·
3 revisions
OSv aims to support most if not all POSIX APIs except for fork() and some other Please, check all details here
To that intent, we built a set of sample applications that uses POSIX APIs to test OSv behaviour
In order to execute those tests, please, run the following command:
netto@morpheus:~/Desktop/osv/osv-tomcat9$ ./scripts/build check
...
TEST tst-wait-for.so OK (7.069 s)
TEST tst-without-namespace.so OK (2.618 s)
TEST tst-yield.so OK (2.981 s)
TEST tst-zfs-mount.so OK (0.756 s)
OK (119 tests run, 271.007 s)
To test an specific case (note, you need to run build check first):
netto@morpheus:~/Desktop/osv/osv-tomcat9$ ./scripts/test.py --name tst-pthread.so
TEST tst-pthread.so OK (1.186 s)
OK (1 test run, 1.187 s)