]> Cypherpunks repositories - gostls13.git/commit
os: allow for variant plan9 error messages in TestOpenError
authorRichard Miller <millerresearch@gmail.com>
Tue, 19 Nov 2024 12:15:26 +0000 (12:15 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 22 Nov 2024 01:15:41 +0000 (01:15 +0000)
commite06e29b9b4afbb30f5c77551ff8e6bdaafcf8e9b
tree1b06d09f20e991a4fe6d8a8003f51534c0d1c8b8
parente6977837fc3d7d187436c2e8c8ac88f044ab551f
os: allow for variant plan9 error messages in TestOpenError

Different Plan 9 file servers may return different error strings
on an attempt to open a directory for writing: EISDIR, EACCES or
EPERM. TestOpenError allows for the first two, but it needs to
allow for EPERM as well.

Fixes #70440

Change-Id: I705cc086e21630ca254499ca922ede78c9901b11
Reviewed-on: https://go-review.googlesource.com/c/go/+/629635
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
src/os/os_test.go