| Age | Commit message (Collapse) | Author |
|
|
|
- Add test logging infrastructure to track command execution and file comparisons
- Generate .log files for each test with command history and manual verification commands
- Ensure all temporary test files use .tmp suffix for consistency
- Clean up .tmp files before each test run (not after) for clean test starts
- Update .gitignore to exclude generated test artifacts (.log, .query files)
- Fix dserver test configurations to use .tmp suffix for output files
- Fix expected test outputs for dgrep context tests
This change improves test debugging and verification by providing detailed logs
of what each test does and allows manual verification of test results.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Removed commented server mode code from TestDGrepStdin (stdin doesn't make sense with server mode)
- Added TestDCat1Colors to test colored output in both serverless and server modes
- Added TestDGrep1Colors to test colored output in both serverless and server modes
- Fixed server metadata detection in colored output tests (look for "REMOTE" or "SERVER" without pipe)
- Note: DMap colored output test was attempted but removed as DMap writes to CSV files, not stdout
All integration tests now pass successfully.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Fixed fmt.Errorf calls in integrationtests/fileutils.go
- Fixed fmt.Errorf calls in integrationtests-old/fileutils.go
- Fixed fmt.Errorf calls in internal/color/color.go
- Fixed t.Errorf call in internal/mapr/logformat/default_test.go
All tests now pass with Go 1.24's stricter format string requirements.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
- Update all dgrep tests (TestDGrep1, TestDGrep2, TestDGrepContext1, TestDGrepContext2) to run in both serverless and server modes
- Follow same pattern as dcat and dmap tests with separate serverless/server functions
- All dgrep tests now pass in both execution modes
- Added necessary imports (fmt, time) for server setup
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
|
|
|
|
|
|
|
|
external config files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|