]> Cypherpunks repositories - gostls13.git/commit
os: skip TestReadlink sub-tests requiring symlinks when not enough
authorqmuntal <quimmuntal@gmail.com>
Fri, 20 Sep 2024 14:51:50 +0000 (16:51 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 23 Sep 2024 18:00:57 +0000 (18:00 +0000)
commitdfd0f0d8eb7ffe77e8b61e21dc59ba28a5a098df
tree8eb0a2374f51f778cfb184d2101edc84452b1563
parentab5c22e7ed6bda79f07410c0041e020e52dc9b35
os: skip TestReadlink sub-tests requiring symlinks when not enough
permissions are held

Some of the TestReadlink sub-tests require os.Symlink to succeed.
If the user doesn't have enough permissions to create symlinks, then
there is no point in running the test.

Change-Id: I06ec7e3ddf0016e804667bba0ee6ebe6baa01872
Reviewed-on: https://go-review.googlesource.com/c/go/+/614655
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
src/os/os_windows_test.go