Skip to content

Commit 1055dfc

Browse files
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 <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 63e29ad commit 1055dfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmd/go/go_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -5150,6 +5150,7 @@ func TestTestCacheInputs(t *testing.T) {
51505150
tg.setenv("GOCACHE", tg.path("cache"))
51515151

51525152
defer os.Remove(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt"))
5153+
defer os.Remove(filepath.Join(tg.pwd(), "testdata/src/testcache/script.sh"))
51535154
tg.must(ioutil.WriteFile(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt"), []byte("x"), 0644))
51545155
old := time.Now().Add(-1 * time.Minute)
51555156
tg.must(os.Chtimes(filepath.Join(tg.pwd(), "testdata/src/testcache/file.txt"), old, old))

0 commit comments

Comments
 (0)