github.com/0xKiwi/rules_go@v0.24.3/tests/examples/executable_name/name_test.sh (about)

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