diff options
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-brace-expansion/build-spec')
9 files changed, 101 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in new file mode 100644 index 0000000..dcfb380 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/control.in @@ -0,0 +1,80 @@ +Source: [% $source %] +Priority: optional +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: no + +Package: [% $source %] +Architecture: [% $package_architecture %] +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. + +Package: debhelper-brace-problem-1 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] another extra string + 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. Extra + string. It may be an empty package. + +Package: debhelper-brace-problem-2 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] another extra string three + 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. Extra + string three. It may be an empty package. + +Package: debhelper-brace-problem-3 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] three test case + 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. Extra + string three test case. It may be an empty package. + +Package: debhelper-brace-problem-4 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] fourth test case + 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. Extra + string fourth test case. It may be an empty package. + +Package: debhelper-brace-problem-5 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] fifth test case + 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. Extra + string fifth test case. It may be an empty package. + +Package: debhelper-brace-problem-6 +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] sixth test case + 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. Extra + string sixth test case. It may be an empty package. + +Package: debhelper-brace-problem-good +Architecture: [% $package_architecture %] +Depends: ${misc:Depends} +Description: [% $description %] good test case + 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. Should + not trigger lintian test. It may be an empty package. + diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install new file mode 100644 index 0000000..917db1f --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-1.install @@ -0,0 +1 @@ +{,foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install new file mode 100644 index 0000000..c0a7ccb --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-2.install @@ -0,0 +1 @@ +{foo,bar}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install new file mode 100644 index 0000000..7276554 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-3.install @@ -0,0 +1 @@ +{foo,}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install new file mode 100644 index 0000000..05031a8 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-4.install @@ -0,0 +1 @@ +{,,foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install new file mode 100644 index 0000000..576e6a4 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-5.install @@ -0,0 +1 @@ +{,foo,}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install new file mode 100644 index 0000000..bf22e94 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/debhelper-brace-problem-good.install @@ -0,0 +1,5 @@ +{.txt usr/share/debhelper +{good}.txt usr/share/debhelper +{}.txt usr/share/debhelper +{foo} usr/share/debhelper +{foo}.txt usr/share/debhelper diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules new file mode 100755 index 0000000..16d8ba1 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh $@ + +# Skip dh_install since there are braces in the install configuration file and +# it would error out on at least some systems. +override_dh_install: + diff --git a/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values new file mode 100644 index 0000000..90ac5ed --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-brace-expansion/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: debhelper-brace-expansion +Description: Check for brace expansion in debhelper config files |