Browse Source

Only fail the check-copyright test if more than 10 files are affected.

tags/v0.99.beta20
Sam Hocevar 8 years ago
parent
commit
319ab6a989
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      caca/t/check-copyright

+ 2
- 1
caca/t/check-copyright View File

@@ -35,7 +35,8 @@ done


echo "$nfiles files, $nfails errors in copyright information" echo "$nfiles files, $nfails errors in copyright information"


if test "$nfails" != "0"; then
if test "$nfails" -gt "10"; then
echo "That’s too many errors, deliberately failing test"
exit 1 exit 1
fi fi




Loading…
Cancel
Save