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.shUse --keep-binary to preserve the test binary after completion:
./test.sh --keep-binaryUse --use-system to test against the system-installed landrun binary:
./test.sh --use-system