Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve reliability of NO_COLOR tests. (#3188)
* Improve reliability of NO_COLOR tests. Use `env` to ensure that `NO_COLOR` is set to the desired value regardless of any initialization that may occur when `script` forks a shell to run jq in. Note that `env -u` is not portable, so there is no good solution for the first test case. * Always use /bin/sh, not the user's login shell.
- Loading branch information