Standard integration tests for a SandboxBackendProtocol implementation.
SandboxIntegrationTests()Provide the sandbox backend under test.
Resets the shared test directory before yielding.
Yield a clean sandbox backend and tear it down after the class.
Write a new file and verify it can be read back via command execution.
Write a file and verify read() returns expected contents.
Edit a file and assert exactly one occurrence was replaced.
Create files and verify ls_info() lists them.
Create files and verify glob_info() returns expected matches.
Verify grep_raw() performs literal matching on special characters.
Upload one file and verify its contents on the sandbox.
Upload then download a file and verify bytes match.
Upload then download and verify bytes survive a roundtrip.
Uploading multiple files should preserve input order in responses.
Downloading multiple files should preserve input order in responses.
Upload and download binary bytes (0..255) without corruption.
Downloading a missing file should return error="file_not_found".
Downloading a directory should fail with a reasonable error code.
Downloading a chmod 000 file should fail with a reasonable error code.
Downloading a relative path should fail with error="invalid_path".
Uploading into a missing parent dir should error or roundtrip.
Some sandboxes auto-create parent directories; others return an error.
Uploading to a relative path should fail with error="invalid_path".