Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
93a0c0d8fe1e4d7aee24a692806e76ce88e2801a
/
.
/
build_tests
/
ruby_check.sh
blob: 70d314971dd1a6b4c8ac01a7c5304e4b6624bb7e [
file
] [
log
] [
blame
]
#!/bin/bash
# Checks the output from ruby.rb.
set
-
e
set
-
u
OUTPUT
=
"$("
./
build_tests
/
ruby_binary
" "
$
{
PWD
}
")"
if
[[
"${OUTPUT}"
!=
"Hi from ruby"
]];
then
echo
"Output is actually:"
>&
2
echo
"${OUTPUT}"
>&
2
exit
1
fi