Brian Silverman | b67da23 | 2015-09-12 23:50:30 -0400 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # Checks the output from ruby.rb. | ||||
4 | |||||
5 | set -e | ||||
6 | set -u | ||||
7 | |||||
8 | OUTPUT="$("./build_tests/ruby_binary" "${PWD}")" | ||||
9 | |||||
10 | if [[ "${OUTPUT}" != "Hi from ruby" ]]; then | ||||
11 | echo "Output is actually:" >&2 | ||||
12 | echo "${OUTPUT}" >&2 | ||||
13 | exit 1 | ||||
14 | fi |