]> Cypherpunks repositories - gostls13.git/commit
os: do not test Lstat in TestDevNullFile
authorAlex Brainman <alex.brainman@gmail.com>
Mon, 26 Mar 2018 08:28:51 +0000 (19:28 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Mon, 26 Mar 2018 09:23:22 +0000 (09:23 +0000)
commitd2dd2e15242a57f5bac04cdb70cb3736241b7973
tree5b3c878ec6c04bf2f3f516e6f4904a0fd832b30d
parent2ba98f1ae9381d78aea68cce63878df484b42812
os: do not test Lstat in TestDevNullFile

CL 102456 added Lstat check to TestDevNullFile.
But some systems have /dev/null as a symlink,
so Lstat test is wrong. Remove the test.

Fixes #24521

Change-Id: I149110b08dd05db6495ec4eccbcf943e444332f9
Reviewed-on: https://go-review.googlesource.com/102461
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/os_test.go