[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#459512: Regression in 'arch-dep-package-has-big-usr-share' testcase



Package: lintian
Version: 1.23.41
Severity: wishlist
Tags: patch

There is a regression in the 'arch-dep-package-has-big-usr-share' test, which
is causing a false negative in the "binary" testcase.

It seems that the "binary" test has grown in size over time, such that the
size of files *outside* of /usr/share/ ensure that the files *inside*
/usr/share do not meet the threshold percentage as required by the testcase!

The patch is simple:

Index: testset/binary/debian/rules
===================================================================
--- testset/binary/debian/rules	(revision 1122)
+++ testset/binary/debian/rules	(working copy)
@@ -66,7 +66,7 @@
      echo boe > $(tmp)/usr/bar2
      ln $(tmp)/usr/bar2 $(tmp)/usr/share/baz 
 
-     dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=2000
+     dd if=/dev/zero of=$(tmp)/usr/share/binary/largefile bs=1024 count=2020
 
      install -d debian/binary-data/DEBIAN
      install -d debian/binary-data/usr/share/doc


(2020 is below the threshold hard limit of 2048, so the hard/soft limit
distinction is still being excecised in the testcase.)


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature


Reply to: