Commit 50d03a65 authored by Chris Lamb's avatar Chris Lamb 💬

checks/ Be explicit about counting the number of entries in the overrides hash.

For some reason in stretch this causes test failures such as:

  Argument "1/8" isn't numeric in numeric ge (>=) at /tmp/testrun/checks/ line 359.
parent 557b537e
Pipeline #20035 passed with stage
in 0 seconds
......@@ -355,7 +355,7 @@ sub run {
if $line and $level >= 11;
my $num_overrides = scalar(%overrides);
my $num_overrides = scalar(keys %overrides);
tag 'excessive-debhelper-overrides', $num_overrides
if $num_overrides >= 20;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment