diff options
| author | David du Colombier <0intro@gmail.com> | 2018-03-26 10:41:11 +0200 |
|---|---|---|
| committer | David du Colombier <0intro@gmail.com> | 2018-03-27 05:30:50 +0000 |
| commit | 49325dc1d23b74eed40ea414c015f080acf21a32 (patch) | |
| tree | fcff9ea1f8a2aa17c983b4af77d63c292e2907ee /src/runtime/sys_linux_arm64.s | |
| parent | 131901e80d5f73780328d129bd6274237318988c (diff) | |
| download | go-49325dc1d23b74eed40ea414c015f080acf21a32.tar.xz | |
os: fix TestDevNullFile on Plan 9
CL 102457 added TestDevNullFile. However, this
test is failing on Plan 9, because it checks
that /dev/null is a character device while there
are no special files on Plan 9.
We fix this issue by changing Stat to consider
all files served by the console device (#c)
as character devices.
Fixes #24534.
Change-Id: I1c60cdf25770358b908790b3fb71910fa914dec0
Reviewed-on: https://go-review.googlesource.com/102424
Run-TryBot: David du Colombier <0intro@gmail.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_arm64.s')
0 files changed, 0 insertions, 0 deletions
