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

Bug#459512: marked as done (Regression in 'arch-dep-package-has-big-usr-share' testcase)



Your message dated Sun, 03 Feb 2008 20:06:49 -0800
with message-id <87zluh9xgm.fsf@windlord.stanford.edu>
and subject line Regression in 'arch-dep-package-has-big-usr-share' testcase
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Chris Lamb <chris@chris-lamb.co.uk> writes:

> 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!

Thanks.  Yeah, all the static copies of hello added up to a lot.  I fixed
this a slightly different way by using a hard link for two binaries that
were identical.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


--- End Message ---

Reply to: