set status to 1 on R:FAIL

This commit is contained in:
Mark Andrews
2011-12-19 23:08:50 +00:00
parent d84a00e6ab
commit d884e8ee4d

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.12 2011/11/01 23:47:00 tbox Exp $
# $Id: runall.sh,v 1.13 2011/12/19 23:08:50 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