diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2023-04-04 14:57:14 +0200 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2023-04-04 21:20:20 +0000 |
| commit | 2f2b874b0aab741a8628fd971f4b3aa41e2fdffb (patch) | |
| tree | 2d91604f3e045b385beaeecabbaa457c185ba4e3 /src/encoding/binary/binary_test.go | |
| parent | 6991f63d9e97b2a76f29170450f40b5ac6bb87f3 (diff) | |
| download | go-2f2b874b0aab741a8628fd971f4b3aa41e2fdffb.tar.xz | |
os/exec: skip remount in TestFindExecutableVsNoexec on EROFS
To allow using testenv.SyscallIsNotSupported, rewrite the test to use
the exported API only. Given that path is an absolute path,
exec.LookPath is equivalent to exec.findExecutable on linux.
Fixes #59087
Change-Id: Ia01b84d4e9d5a65a88dd995f9e3c8a81c4ccd19f
Reviewed-on: https://go-review.googlesource.com/c/go/+/481620
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Bypass: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions
