Commit c7e22595 authored by Felix Lechner's avatar Felix Lechner

Delete test fields-src-fields-filename; cannot be converted to standard tools.

The new source builder relies only on standard tools. The tag this
test is supposed to trigger cannot be provoked using dpkg-source. When
used with the argument -DSource="some-other-name", it will produce an
error:

    dpkg-source: error: source package has two conflicting values - some-other-name and fields-src-fields-filename
    make: *** [Makefile:37: product] Error 25

The tag was already removed. This removes the test.

Gbp-Dch: ignore
parent 36ec40ff
Pipeline #65565 failed with stage
in 91 minutes and 2 seconds
name = {$source}
dsc = some-other-name
dir = $(dsc)-1
all:
-mkdir $(dir)
cp -rp debian/ $(dir)/
tar cfz $(dsc)_1.tar.gz $(dir)
subst-dsc $(dsc)_1.tar.gz < dsc.in > $(dsc)_1.dsc
mv $(dsc)_1.dsc $(name)_1.dsc
clean:
rm -rf $(dir)
rm -f $(name)_1*
rm -fr $(tar)_1*
Source: some-other-name
Priority: optional
Section: {$section}
Maintainer: {$author}
Standards-Version: {$standards_version}
Build-Depends: debhelper (>= 7.0.50~)
Package: {$source}
Architecture: {$package_architecture}
Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
Description: {$description}
This is a test package designed to exercise some feature or tag of
Lintian. It is part of the Lintian test suite and may do very odd
things. It should not be installed like a regular package. It may
be an empty package.
Skeleton: dsc
Testname: fields-src-fields-filename
Version: 1
Description: Test package for src field filename mismatch
Check: fields
Format: 1.0
Source: some-other-name
Binary: fields-src-fields-filename
Architecture: all
Version: 1
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Standards-Version: {$standards_version}
Build-Depends: {$build_depends}
Testsuite: autopkgtest
Checksums-Sha1:
@SHA1@ @SIZE@ some-other-name_1.tar.gz
Checksums-Sha256:
@SHA256@ @SIZE@ some-other-name_1.tar.gz
Files:
@MD5@ @SIZE@ some-other-name_1.tar.gz
some-other-name (source): source-field-does-not-match-pkg-name some-other-name != fields-src-fields-filename
some-other-name (source): older-source-format 1.0
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