You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running regress/runtests on macOS, test 0152 fails this way:
Testing github-#0152: cut: tmp.log: No such file or directory
cut: tmp.log: No such file or directory
github-#0152/run: line 15: test: -eq: unary operator expected
failed (got calls, and failed)
So there are several problems:
First, tmp.log didn't get created for some reason.
Second, the test did not guard against that situation occurring.
Third, a syntax error occurred because you're not quoting your variables and they happened to be empty. shellcheck points this out:
In regress/github-#0152/run line 15:
if test $calls -eq 20 && test $failed -gt 0; then
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if test "$calls" -eq 20 && test "$failed" -gt 0; then
The text was updated successfully, but these errors were encountered:
Running
regress/runtests
on macOS, test 0152 fails this way:So there are several problems:
shellcheck
points this out:The text was updated successfully, but these errors were encountered: