diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-12-11 12:11:19 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2017-12-11 22:39:08 +0000 |
| commit | 1055dfce40da4852add029c8a0e7312dff079507 (patch) | |
| tree | 562ca27f157ae18f1e7824be08233823f791a599 /src | |
| parent | 63e29ad1f7b9b5a7f5d10b3c1beaf39a2e09e195 (diff) | |
| download | go-1055dfce40da4852add029c8a0e7312dff079507.tar.xz | |
cmd/go: remove script.sh in TestTestCacheInputs
Updates #22593
Change-Id: I76e52dc8b874da13ae9e2d80e5c0d6d8424b67db
Reviewed-on: https://go-review.googlesource.com/83257
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/go/go_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 74e2d8da81..732628ccd8 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -5150,6 +5150,7 @@ func TestTestCacheInputs(t *testing.T) { tg.setenv("GOCACHE", tg.path("cache")) defer os.Remove(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt")) + defer os.Remove(filepath.Join(tg.pwd(), "testdata/src/testcache/script.sh")) tg.must(ioutil.WriteFile(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt"), []byte("x"), 0644)) old := time.Now().Add(-1 * time.Minute) tg.must(os.Chtimes(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt"), old, old)) |
