os: hostname path hardcoded as /bin/hostname in test #52402
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
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?
Run the
TestHostname
test for the OS package:Note that
hostname
is located at/usr/bin/hostname
.What did you expect to see?
What did you see instead?
This is caused by
hostname
being hardcoded as/bin/hostname
(see here).The text was updated successfully, but these errors were encountered: