cmd/go: go test ./non-existent-directory/...
(or empty directory) hangs
#31550
Labels
go test ./non-existent-directory/...
(or empty directory) hangs
#31550
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected the command to complete immediately, either successfully, or with error.
What did you see instead?
The go command hangs and must be interrupted.
Why was I trying to do this?
A valid question! Obviously it's silly to run tests on a non-existent, or empty directory. However, I expect that the directory will exist in the very next commit, and I had updated the Makefile before making the directory.
The text was updated successfully, but these errors were encountered: