From 319ab6a989b51166d3c7f5521f4be43798bbeb7a Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 7 Oct 2016 23:34:35 +0200 Subject: [PATCH] Only fail the check-copyright test if more than 10 files are affected. --- caca/t/check-copyright | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/caca/t/check-copyright b/caca/t/check-copyright index d4363ab..b22f91b 100755 --- a/caca/t/check-copyright +++ b/caca/t/check-copyright @@ -35,7 +35,8 @@ done 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 fi