]> Cypherpunks repositories - gostls13.git/commit
path/filepath: skip TestIssue29372 on windows, if /tmp has symilinks
authorAlex Brainman <alex.brainman@gmail.com>
Fri, 25 Jan 2019 07:22:27 +0000 (18:22 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 27 Jan 2019 04:18:10 +0000 (04:18 +0000)
commit447965d4e008764a8635df6ca7d5d2e59c6d4229
treed0a36f0bb85d75e65675a6a022a3f1a485e1c396
parenteafe9a186c84dcfb7db1038cc43d1f0dfd1ea781
path/filepath: skip TestIssue29372 on windows, if /tmp has symilinks

TestIssue29372 is broken on windows when temporary directory has
symlink in its path.

Adjust the test to use filepath.EvalSymlinks of temporary directory,
instead of temporary directory on windows. This change is not a
proper fix, but at least it makes TestIssue29372 pass on windows-arm.

See issue for details.

Updates #29746

Change-Id: I2af8ebb89da7cb9daf027a5e49e32ee22dbd0e3d
Reviewed-on: https://go-review.googlesource.com/c/159578
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/path/filepath/path_test.go