mirror of
https://github.com/golang/go
synced 2024-11-23 16:50:06 -07:00
extra test case for incompatible combination
This commit is contained in:
parent
66fa86c11e
commit
ee67f09d75
3
src/cmd/go/testdata/script/env_write.txt
vendored
3
src/cmd/go/testdata/script/env_write.txt
vendored
@ -109,6 +109,9 @@ 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 a valid GOOS and GOARCH values but an incompatible combinations
|
||||
! go env -w GOOS=android GOARCH=s390x
|
||||
stderr 'unsupported GOOS/GOARCH pair android/s390x'
|
||||
# check that -u considers explicit envs
|
||||
go env -w GOOS=linux GOARCH=mips
|
||||
env GOOS=windows
|
||||
|
Loading…
Reference in New Issue
Block a user