Files
Paweł Marczewski 17ab04db59 [Pal,LibOS] New logging system
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.
2021-01-20 17:27:29 +01:00
..

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