Skip to content

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 (TODO: explain the design rationale of OSv, why some scheduling features are intentionally missing, etc)

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:

etto@morpheus:~/Desktop/osv/osv-tomcat9$ ./scripts/build check
...

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)
Clone this wiki locally