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