Open ryandesign opened 3 months ago
shellcheck won't help here.
If there is no tmp.log then getting values out of it is useless. Doing "" -eq 20
makes as little sense as -eq 20
.
(It would've been bad if the test succeeded though.)
I wouldn't mind a fix to the script, but more relevant is why there is no tmp.log in the first place.
Running
regress/runtests
on macOS, test 0152 fails this way:So there are several problems:
shellcheck
points this out:Did you mean: if test "$calls" -eq 20 && test "$failed" -gt 0; then