Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change bash shebangs to be more portable
When running kubectl-neat tests on a nixos system, I was getting test failures like the following: ``` --- FAIL: TestGetCmd (0.00s) cmd_test.go:186: error assertion: have: &errors.errorString{s:"Error invoking kubectl as [../test/kubectl-stub get -o json pods] fork/exec ../test/kubectl-stub: no such file or directory"} test case: {[pods] 0x1021740 apiVersion } ``` And running the script directly: ``` $ ./test/kubectl-stub zsh: ./test/kubectl-stub: bad interpreter: /bin/bash: no such file or directory ``` This PR changes the shebang to `#!/usr/bin/env bash` to make the tests more portable across systems. I changed the other bash shebangs for good measure.
- Loading branch information