diff --git a/misc/cgo/testcshared/test.bash b/misc/cgo/testcshared/test.bash index ac852a007a..4446402ad9 100755 --- a/misc/cgo/testcshared/test.bash +++ b/misc/cgo/testcshared/test.bash @@ -19,6 +19,8 @@ goarch=$(go env GOARCH) goroot=$(go env GOROOT) if [ ! -d "$goroot" ]; then echo 'misc/cgo/testcshared/test.bash cannnot find GOROOT' 1>&2 + echo '$GOROOT:' "$GOROOT" 1>&2 + echo 'go env GOROOT:' "$goroot" 1>&2 exit 1 fi