libgcc/aarch64: also provide AT_HWCAP2 fallback
[official-gcc.git] / libgo / go / cmd / go / testdata / script / mod_convert_godeps.txt
blobda7b6c1059473735437a55726a7f114e2eaa490a
1 env GO111MODULE=on
3 # We should not create a go.mod file unless the user ran 'go mod init' explicitly.
4 # However, we should suggest 'go mod init' if we can find an alternate config file.
5 cd $WORK/test/x
6 ! go list .
7 stderr 'found Godeps/Godeps.json in .*[/\\]test'
8 stderr '\s*cd \.\. && go mod init'
10 # The command we suggested should succeed.
11 cd ..
12 go mod init
13 go list -m all
14 stdout '^m$'
16 -- $WORK/test/Godeps/Godeps.json --
18 -- $WORK/test/x/x.go --
19 package x // import "m/x"