mirror of
https://github.com/golang/go
synced 2024-11-23 18:20:04 -07:00
change tests to not use nacl/amd64p32
This commit is contained in:
parent
0d37cb1153
commit
66fa86c11e
16
src/cmd/go/testdata/script/env_write.txt
vendored
16
src/cmd/go/testdata/script/env_write.txt
vendored
@ -109,16 +109,8 @@ stderr 'unsupported GOOS/GOARCH.*/amd644$'
|
||||
# check -w doesn't allow invalid GOOS with valid GOARCH
|
||||
! go env -w GOOS=linuxx GOARCH=amd64
|
||||
stderr 'unsupported GOOS/GOARCH pair linuxx'
|
||||
# check that -u won't allow an invalid combination after a successful -w
|
||||
go env -w GOOS=nacl GOARCH=amd64p32
|
||||
# check that -u considers explicit envs
|
||||
go env -w GOOS=linux GOARCH=mips
|
||||
env GOOS=windows
|
||||
! go env -u GOOS
|
||||
stderr 'unsupported GOOS/GOARCH.*/amd64p32$'
|
||||
# check that -u considers explicit envs in action validation
|
||||
go env -u GOOS GOARCH
|
||||
env GOOS=nacl
|
||||
env GOARCH=amd64p32
|
||||
go env -w GOOS=linux GOARCH=amd64
|
||||
env GOOS=
|
||||
! go env -u GOARCH
|
||||
stderr 'linux/amd64p32'
|
||||
|
||||
stderr 'unsupported GOOS/GOARCH.*windows/mips$'
|
||||
|
Loading…
Reference in New Issue
Block a user