mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-03 04:11:42 +00:00
Instead of 'loader.debug_type', introduce 'loader.log_level' and 'loader.log_file', along with a set of definitions for logging at a chosen level. For now, the call sites keep using the legacy macros (SGX_DBG and debug()), because converting them all will conflict with other big changes in the code base. The existing LibOS calls are assumed to be at 'info' level.
Test purpose
These tests perform common FS operations in various ways to exercise the Graphene FS subsystem:
- open/close
- read/write
- create/delete
- read/change size
- seek/tell
- memory-mapped read/write
- sendfile
- copy directory in different ways
How to execute
Run make test (tests both regular files and protected files).
Run make fs-test to only test regular files.
(SGX only) Protected file tests assume that the SGX tools were installed in this directory:
cd $graphene/Pal/src/host/Linux-SGX/tools
make install PREFIX=$graphene/LibOS/shim/test/fs