Skip to content
Snippets Groups Projects
Commit a68cb6c7 authored by Jason Hiser's avatar Jason Hiser
Browse files

better detection of failure

Former-commit-id: 08687608393d4df8f37303bb2e50d547053b9841
parent c7dcfa93
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ do_test()
cmp out correct
res=$?
if [[ $? != 0 ]]; then
if [[ $res != 0 ]]; then
echo "detected output diff:"
diff out correct
exit 1
......
......@@ -27,7 +27,7 @@ do_test()
cmp out correct
res=$?
if [[ $? != 0 ]]; then
if [[ $res != 0 ]]; then
echo "detected output diff:"
diff out correct
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment