github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/info/info_test.sh (about)

     1  for t in "go version" "GOROOT=" "GOPATH=" "GOARCH=" "GOOS=" "GOBIN="; do
     2    if ! grep -q "$t" $1; then
     3      cat "$1"
     4      echo
     5      echo
     6      echo "Failed to find $t in $1"
     7      exit 1
     8    fi
     9  done