Bug#809440: lintian: runtime-test-file-is-not-a-regular-file complains about a symlink to a regular test file
Package: lintian
Version: 2.5.39.1
Severity: normal
With python-django 1.9-2 I get those tags:
I: python-django source: runtime-test-file-is-not-a-regular-file debian/tests/django-admin-py3
I: python-django source: runtime-test-file-is-not-a-regular-file debian/tests/test-suite-py3
Both files are symlinks to another script (which is a regular file) in the
same directory. autopkgtest works perfectly well with such test files...
thus you should not trigger the tag in this case.
I'm using a symlink as a way to share a script to be run under two
different environments. In my case once with Python 2 and once with Python
3 (as the -py3 suffix suggests).
Thanks!
-- System Information:
Debian Release: stretch/sid
APT prefers squeeze-lts
APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.25.90.20151209-1
ii bzip2 1.0.6-8
ii diffstat 1.60-1
ii file 1:5.25-2
ii gettext 0.19.7-1
ii hardening-includes 2.8+nmu2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b5
ii libarchive-zip-perl 1.55-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-1+b1
ii libdpkg-perl 1.18.4
ii libemail-valid-perl 1.198-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.413-1+b1
ii libparse-debianchangelog-perl 1.2.0-8
ii libperl5.22 [libdigest-sha-perl] 5.22.1-3
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.69-1
ii man-db 2.7.5-1
ii patchutils 0.3.4-1
ii perl 5.22.1-3
ii t1utils 1.38-4
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.4
ii libperlio-gzip-perl 0.19-1+b1
ii perl 5.22.1-3
ii perl-modules-5.22 [libautodie-perl] 5.22.1-3
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.4
ii libhtml-parser-perl 3.71-2+b1
ii libtext-template-perl 1.46-1
ii libyaml-perl 1.15-1
-- no debconf information
Reply to: