Isaku Yamahata 086b997792 [LibOS] Implement mincore() system call 6 rokov pred
..
.gitignore 382a1ec394 Cleanup .gitignore files 5 rokov pred
BLOCKED 5aa1483079 [LibOS/tests/ltp] Add getrlimit{01,02} to passing LTP tests 5 rokov pred
FLAKY 36bd8827ac Take waitpid03 (back) out of CI. It has been flaky, and should not have gone back into CI without pretty exhaustive testing. 6 rokov pred
Makefile 9f61dc2871 [LibOS/test/ltp] Skip make autotools for LTP 5 rokov pred
Makefile.testcases d2185bace0 a trivial change in LTP Makefile 7 rokov pred
PASSED 086b997792 [LibOS] Implement mincore() system call 5 rokov pred
README 2bc2c04194 Remove trailing blanks 5 rokov pred
TIMEOUTS 03cb0e0bb3 Address a TOCTTOU vulnerability in SGX read/map (#131) 6 rokov pred
block_tests.awk b6e06b5f79 - add linux-test-project to apps 8 rokov pred
edit_sys_tests.awk 9357833e52 Get LTP running again on SGX 7 rokov pred
fetch.py 2bc2c04194 Remove trailing blanks 5 rokov pred
manifest.template 84f81d8f13 Lots of bugfixes (#145) 7 rokov pred
passed_tests_only.awk b6e06b5f79 - add linux-test-project to apps 8 rokov pred
run_in_graphene.awk 0433461802 License change to LGPL (#140) 7 rokov pred
runltp.patch b6e06b5f79 - add linux-test-project to apps 8 rokov pred
syscalls.sh 2bc2c04194 Remove trailing blanks 5 rokov pred

README

LTP FOR GRAPHENE
----------------

Running LTP test cases in Graphene :
1) run 'make' in LibOS/shim/test/apps/ltp
2) cd Graphene/LibOS/shim/test/regression
3) make regression

The above command will start running LTP system call test cases in Graphene.

It works in 2 steps:
1) Creates a testfile (Graphene/LibOS/shim/test/apps/ltp/syscalls.graphene) with all the LTP system call test cases to run, excluding the ones mentioned in Graphene/LibOS/shim/test/apps/ltp/BLOCKED. “BLOCKED” contains all the test cases which are hanging in the Graphene and thus are excluded from regression tests.
2) Calls Graphene/LibOS/shim/test/apps/ltp/fetch.py It runs the LTP test cases and display output on the terminal.
Some LTP testcases hangs in Graphene. This python script sets a timeout for each testcase referring the file 'TIMEOUTS'. Default timeout is set 20 seconds in the script.
It also shows, ‘new passed testcases’ (passed testcases which are not in Graphene/LibOS/shim/test/apps/ltp/PASSED) and ‘new failed testcases’ (failed testcases which are in ‘PASSED’).
It also creates files ‘run_output’, ‘Failed.csv’, ‘Passed.csv’, ‘Blocked.csv’ under Graphene/LibOS/shim/test/apps/ltp for reference.
Results are of 4 types :
[Pass] -> Testcase passed
[Failed] -> Testcase failed
[Hanged] -> Testcase hanged and thereafter killed
[Broken] -> Either system call is not implemented in Graphene or test preparation failed

To run a single testcase, execute the following commands:
cd /opt/ltp/testcases/bin/
/Runtime/pal_loader

In this way, one can debug one particular syscall testcase.

As you fix bugs, keep updating PASSED BLOCKED lists.