Gitiles
Code Review
Sign In
realtimeroboticsgroup.org
/
RealtimeRoboticsGroup
/
test
/
a8ae8e9cd379b90d52d08d8e410964a31620d8ef
/
.
/
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