| 6813 | } |
| 6814 | |
| 6815 | static void client_detect_env_restore(client_detect_env_t *saved) { |
| 6816 | restore_test_env("PATH", saved->path); |
| 6817 | restore_test_env("CLAUDE_CONFIG_DIR", saved->claude_config_dir); |
| 6818 | restore_test_env("OPENCODE_CONFIG", saved->opencode_config); |
| 6819 | restore_test_env("OPENCODE_CONFIG_DIR", saved->opencode_config_dir); |
| 6820 | restore_test_env("HERMES_HOME", saved->hermes_home); |
| 6821 | } |
| 6822 | |
| 6823 | /* Fresh home plus an empty bin dir used as the whole PATH. */ |
| 6824 | static bool client_detect_fixture(char *home, size_t home_sz, char *bin, size_t bin_sz) { |
no test coverage detected