Enable 'strict' mode for zsh

This commit is contained in:
David Dworken 2022-06-04 23:11:26 -07:00
parent 0fac3b7286
commit b471eea2ee

View File

@ -76,8 +76,7 @@ type zshTester struct {
}
func (z zshTester) RunInteractiveShell(t *testing.T, script string) string {
// TODO: make this strict
res, err := z.RunInteractiveShellRelaxed(t, script)
res, err := z.RunInteractiveShellRelaxed(t, "set -eo pipefail\n"+script)
if err != nil {
t.Fatal(err)
}