]> Cypherpunks repositories - gostls13.git/commitdiff
internal/testenv: do not delete target file
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 15 Feb 2017 01:47:51 +0000 (12:47 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 15 Feb 2017 06:03:15 +0000 (06:03 +0000)
We did not create it. We should not delete it.

Change-Id: If98454ab233ce25367e11a7c68d31b49074537dd
Reviewed-on: https://go-review.googlesource.com/37030
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/internal/testenv/testenv_windows.go

index e593f64711c382d688080c1ca01bceb784456d7b..eb8d6ac1650385b80bc1dcaea382d37a6b85d35e 100644 (file)
@@ -30,7 +30,6 @@ func initWinHasSymlink() {
                        winSymlinkErr = err
                }
        }
-       os.Remove("target")
 }
 
 func hasSymlink() (ok bool, reason string) {