Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 571 Bytes

File metadata and controls

28 lines (20 loc) · 571 Bytes

Testing

The project re-uses the landrun test suite that verifies:

  • Basic filesystem access controls (read-only, read-write, execute)
  • Directory traversal and path handling
  • Network restrictions (TCP bind/connect)
  • Environment variable isolation
  • System command execution
  • Edge cases and regression tests

Run the tests with:

./test.sh

Use --keep-binary to preserve the test binary after completion:

./test.sh --keep-binary

Use --use-system to test against the system-installed landrun binary:

./test.sh --use-system