Revision: 77446
http://sourceforge.net/p/brlcad/code/77446
Author: brlcad
Date: 2020-10-15 07:55:09 +0000 (Thu, 15 Oct 2020)
Log Message:
-----------
can't rely on echo -n in strict mode, so just match a single rgb triplet of
newlines. print the return value too, so we have a better idea what's going on
when things are sour.
Modified Paths:
--------------
brlcad/trunk/bench/run.sh
Modified: brlcad/trunk/bench/run.sh
===================================================================
--- brlcad/trunk/bench/run.sh 2020-10-15 07:04:15 UTC (rev 77445)
+++ brlcad/trunk/bench/run.sh 2020-10-15 07:55:09 UTC (rev 77446)
@@ -608,17 +608,17 @@
"$RT"
$ECHO
$ECHO "ERROR: RT does not seem to work as expected"
- $ECHO " (output was [$out])"
+ $ECHO " (returned $ret, output was [$out])"
exit 2
fi
# sanity check: make sure $CMP runs
-out=`echo -n "" | eval \"$CMP\" - - 2>&1`
+out=`echo '\n\n\n\n\n' | eval \"$CMP\" - - 2>&1`
ret=$?
if test ! "x${ret}" = "x0" ; then
$ECHO
$ECHO "ERROR: CMP does not seem to work as expected"
- $ECHO " (output was [$out])"
+ $ECHO " (returned $ret, output was [$out])"
exit 2
fi
@@ -627,7 +627,7 @@
if test ! "x${ret}" = "x0" ; then
$ECHO
$ECHO "ERROR: ELP does not seem to work as expected"
- $ECHO " (output was [$out])"
+ $ECHO " (returned $ret, output was [$out])"
exit 2
fi
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits