For example:
(@v1.11) pkg> test Revise
Testing Revise
...
Testing Running tests...
ERROR: julia: -t,--threads=<n>[,auto|<m>]; n must be an integer >= 1
ERROR: Package Revise errored during testing
The same error with any package. Running test from Julia in a terminal works without problems. Any ideas?