Sensible default command to test with. use [`get_base_command`] if this setup doesn't apply.
()
| 99 | /// Sensible default command to test with. use [`get_base_command`] if this |
| 100 | /// setup doesn't apply. |
| 101 | fn get_command() -> Command { |
| 102 | let mut cmd = get_base_command(); |
| 103 | cmd.env("XH_TEST_MODE", "1"); |
| 104 | cmd.env("XH_TEST_MODE_TERM", "1"); |
| 105 | cmd |
| 106 | } |
| 107 | |
| 108 | /// Do not pretend the output goes to a terminal. |
| 109 | fn redirecting_command() -> Command { |