Bug#573081: lintian: [testset/etcfiles] weird md5 checksum tests
Package: lintian
Version: 2.3.3
Severity: normal
Hello,
The "etcfiles" test seems broken:
1. The file ./testset/etcfiles/debian/rules contains some test entries for md5which gets
overritten immediately:
> echo '68b329da9893e34099c7d8ad5cb9c940 ./etc/cron.daily/cronfile-normal' \
> > debian/tmp/DEBIAN/md5sums
> echo '68b329da9893e34099c7d8ad5cb9c940 ./etc/cron.daily/.cronfile-begins-with-fullstop' \
> > debian/tmp/DEBIAN/md5sums
^^ Ouch!!
> echo '68b329da9893e34099c7d8ad5cb9c940 ./etc/cron.daily/cronfile-contains.fullstop' \
> > debian/tmp/DEBIAN/md5sums
^^ Ouch!!
> echo 'ab371382468880299e5ebd05921764ce ./etc/proper' \
> > debian/tmp/DEBIAN/md5sums
^^ Ouch!!
> echo 'ab371382468880299e5ebd05921764ce etc/improper' \
> >> debian/tmp/DEBIAN/md5sums
2. The checksum for the file ./etc/proper should be valid (I guess), but it is not:
> echo 'ab371382468880299e5ebd05921764ce ./etc/proper' \
> > debian/tmp/DEBIAN/md5sums
The current md5sum for this file is :
% md5sum proper
05c72cacce994208128b7d081116b04a proper
Obviously, the file testset/tags.etcfiles should be adjusted accordingly.
Regards,
Franklin
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing'), (101, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.33-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.20-6 The GNU assembler, linker and bina
ii diffstat 1.47-1 produces graph of changes introduc
ii dpkg-dev 1.15.5.6 Debian package development tools
ii file 5.04-1 Determines file type using "magic"
ii gettext 0.17-9 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii libclass-accessor-perl 0.34-1 Perl module that automatically gen
ii libipc-run-perl 0.84-1 Perl module for running processes
ii libparse-debianchangel 1.1.1-2 parse Debian changelogs and output
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii liburi-perl 1.52-1 module to manipulate and access UR
ii locales 2.10.2-6 Embedded GNU C Library: National L
ii man-db 2.5.7-1 on-line manual pager
ii perl [libdigest-sha-pe 5.10.1-11 Larry Wall's Practical Extraction
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none> (no description available)
ii libtext-template-perl 1.45-1 Text::Template perl module
ii man-db 2.5.7-1 on-line manual pager
-- no debconf information
Reply to: