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