From a1e81d4eafd38562762df7dde43dc50cc9ab0003 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 28 Aug 2010 19:12:31 +0000 Subject: [PATCH] exit with an error if zptlint fails. svn path=/plone.app.discussion/trunk/; revision=39312 --- test-plone-4.0.x.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/test-plone-4.0.x.cfg b/test-plone-4.0.x.cfg index 26b917e..4d9214a 100644 --- a/test-plone-4.0.x.cfg +++ b/test-plone-4.0.x.cfg @@ -120,6 +120,7 @@ input = inline: find plone/app/discussion -regex ".*\.[c|z]?pt" | xargs bin/zptlint > zptlint.log if [ -s zptlint.log ]; then echo "Errors were found, see zptlint.log for details" + exit 1; else echo "No errors found" rm zptlint.log