os/exec: TestFindExecutableVsNoexec fail in lxd container #59087
Labels
FrozenDueToAge
help wanted
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?
go test -v os/exec -run TestFindExecutableVsNoexec
What did you expect to see?
no fatal
What did you see instead?
lp_linux_test.go:71: remount /tmp/TestFindExecutableVsNoexec2830811350/001 with noexec failed: permission denied
If I run following command, it's indeed no permission to remount.
So I think the test need to be skipped when the second mount is failed.
The text was updated successfully, but these errors were encountered: