• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1result="$(${TEST_SRCDIR}/io_bazel_rules_go/tests/examples/executable_name/the_binary)"
2expect="The executable ran!"
3if [ "$result" != "$expect" ]; then
4  echo "error: unexpected bazel exit code: want '$expect', got '$result'" >&2
5  exit 1
6fi
7