The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(search): update grep command mirrors to -rnHE for fidelity with production
kshitij9baf92b7f317
diff --git a/tests/tools/test_search_hidden_dirs.py b/tests/tools/test_search_hidden_dirs.pyindex f1287118da2..ea5663f6459 100644--- a/tests/tools/test_search_hidden_dirs.py+++ b/tests/tools/test_search_hidden_dirs.py@@ -69,7 +69,7 @@ class TestGrepExcludesHiddenDirs:def test_grep_skips_hub_cache(self, searchable_tree):"""grep --exclude-dir should skip .hub/ directory."""cmd = (- f"grep -rnH --exclude-dir='.*' 'ignore' {searchable_tree}"+ f"grep -rnHE --exclude-dir='.*' 'ignore' {searchable_tree}")result = subprocess.run(cmd, shell=True, capture_output=True, text=True)# Should NOT find the injection text in .hub/index-cache/catalog.json@@ -79,7 +79,7 @@ class TestGrepExcludesHiddenDirs:def test_grep_still_finds_visible_content(self, searchable_tree):"""grep should still find content in visible directories."""cmd = (- f"grep -rnH --exclude-dir='.*' 'real skill' {searchable_tree}"+ f"grep -rnHE --exclude-dir='.*' 'real skill' {searchable_tree}")result = subprocess.run(cmd, shell=True, capture_output=True, text=True)assert "SKILL.md" in result.stdout