Skip to content
Browse files

qa.cfg: fix coverage.sh script argument test

  • Loading branch information...
1 parent a57770e commit 2c4270c1cda1b230967a92e85e6ef94d0ba26bd6 @toutpt toutpt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 qa.cfg
View
2 qa.cfg
@@ -24,7 +24,7 @@ input = inline:
DEFAULT=${buildout:package-coverage}
REPORT="coverage/reports/all.html"
- if [ "$1" -ge 0 ] && [ "$1" -le 100 ]; then
+ if [ $# -eq 1 ] && [ $1 -ge 0 ] && [ $1 -le 100 ]; then
MINIMUM=$1
else
echo "Invalid value for minimum coverage; using default: $DEFAULT%"

0 comments on commit 2c4270c

Please sign in to comment.
Something went wrong with that request. Please try again.