- test_exec_head_tail_truncation: use temp script file instead of
python -c to avoid cmd.exe quote-parsing issues after PR #2893
- test_grep_files_with_matches_supports_head_limit_and_offset: query
full result set first to avoid mtime-dependent sort assumption