Borg/pkg/tim
google-labs-jules[bot] bd14b14483 Improve test coverage for datanode and tim packages, and fix cmd tests
- Added unit tests for `ToTar` and `FromTar` in `pkg/datanode`, including a round-trip test and invalid input handling.
- Added unit tests for `Walk` options (`MaxDepth`, `Filter`, `SkipErrors`) in `pkg/datanode`.
- Added security tests for `pkg/tim` to verify protection against path traversal (Zip Slip) attacks and handling of invalid inputs.
- Fixed `cmd` package tests execution by adding `TestHelperProcess` to `cmd/run_test.go` to support mocked command execution.
- Increased coverage for `pkg/datanode` to 84.2%, `pkg/tim` to 74.2%, and `cmd` to 44.1%.
2025-11-23 18:58:32 +00:00
..
config.go feat: Add trix encryption and format 2025-11-14 13:47:27 +00:00
run.go feat: Add trix encryption and format 2025-11-14 14:12:31 +00:00
run_test.go Improve test coverage for datanode and tim packages, and fix cmd tests 2025-11-23 18:58:32 +00:00
tim.go feat: Add trix encryption and format 2025-11-14 13:47:27 +00:00
tim_more_test.go feat: Add trix encryption and format 2025-11-14 13:47:27 +00:00
tim_test.go feat: Add trix encryption and format 2025-11-14 13:47:27 +00:00