Update `$PATH` to include `$GOPATH/bin` by default
Test scripts should not need to assume anything other than `$GOPATH`
is set. As we use binaries installed with `go get` we need to add the
`$GOPATH/bin` to our `$PATH`.
@@ -106,7 +106,7 @@ readonly -f os::util::environment::setup_all_server_vars
# Returns:
# - export PATH
function os::util::environment::update_path_var() {
- PATH="${OS_OUTPUT_BINPATH}/$(os::util::host_platform):${PATH}"
+ PATH="${OS_OUTPUT_BINPATH}/$(os::util::host_platform):${GOPATH}/bin:${PATH}"
export PATH
}
readonly -f os::util::environment::update_path_var
