aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_concurrent_unzipinplace.txt
blob: 473be71c9c7ce0ccd34468d435d5bde499c86190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This tests checks the GODEBUG=modcacheunzipinplace=1 flag, used as part of
# a migration in golang.org/issue/36568.
#
# Concurrent downloads with and without GODEBUG=modcacheunzipinplace=1 should
# not conflict. This is meant to simulate an old version and a new version
# of Go accessing the cache concurrently.
go mod download &
env GODEBUG=modcacheunzipinplace=1
go mod download
wait

-- go.mod --
module golang.org/issue/36568

go 1.14

require rsc.io/quote v1.5.2