From 89d62012e88c5556c3b47d760592d35b6cf4ef57 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 3 Feb 2016 14:13:38 -0800 Subject: [PATCH] Set Pester error threshold to 0 --- pester.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pester.sh b/pester.sh index 3ac5b9bea6..fb7d62fb75 100755 --- a/pester.sh +++ b/pester.sh @@ -6,5 +6,5 @@ failed_tests=$? # XML files are not executable chmod -x pester-tests.xml -# Exit with failure if number of failed tests exceeds threshold -[ ! $failed_tests -gt 11 ] +# Return number of failed tests as exit code (more than 0 will be an error) +exit $failed_tests