set status to 1 on R:FAIL

This commit is contained in:
Mark Andrews
2011-12-19 23:13:00 +00:00
parent 14a1f32dc6
commit c1f36a507d
+2 -1
View File
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: runall.sh,v 1.8.332.4 2011/11/01 23:45:32 tbox Exp $
# $Id: runall.sh,v 1.8.332.5 2011/12/19 23:13:00 marka Exp $
#
# Run all the system tests.
@@ -47,5 +47,6 @@ EOF
echo "I:System test result summary:"
grep '^R:' systests.output | sort | uniq -c | sed -e 's/^/I: /' -e 's/R://'
grep '^R:FAIL' systests.output > /dev/null && status=1
exit $status