diff options
Diffstat (limited to 't/recipes/checks/fields/urgency/generic-empty')
8 files changed, 33 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in new file mode 100644 index 0000000..7a4298d --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/changelog.in @@ -0,0 +1,2 @@ +[% $source %] ([% $version %]) unstable; + -- a <> Tue, 30 Dec 2008 17:34:02 -0800 diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in new file mode 100644 index 0000000..575773e --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/control.in @@ -0,0 +1,5 @@ +Source: [% $source %] +Maintainer: a + +Package: [% $source %] +Architecture: [% $package_architecture %] diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules new file mode 100755 index 0000000..62da96d --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +build: +binary: + install -d debian/generic-empty debian/generic-empty/DEBIAN + dpkg-gencontrol -pgeneric-empty -Pdebian/generic-empty + dpkg --build debian/generic-empty .. + +clean: + rm -rf debian/generic-empty diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values b/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values new file mode 100644 index 0000000..26d9bdc --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: generic-empty +Package-Architecture: all +Description: Pathological empty package diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README b/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README new file mode 100644 index 0000000..ed1b149 --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/orig/README @@ -0,0 +1,4 @@ +This is the smallest possible Debian package that I can get +dpkg-buildpackage to build (with the exception of this documentation). +It tests Lintian handling of packages that are missing everything one +would normally expect to have. diff --git a/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build b/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build new file mode 100755 index 0000000..1a3929a --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Remove as many files from the package as possible. + +rm -f "$1/debian/compat" +rm -f "$1/debian/copyright" diff --git a/t/recipes/checks/fields/urgency/generic-empty/eval/desc b/t/recipes/checks/fields/urgency/generic-empty/eval/desc new file mode 100644 index 0000000..86791bb --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/eval/desc @@ -0,0 +1,2 @@ +Testname: generic-empty +Check: fields/urgency diff --git a/t/recipes/checks/fields/urgency/generic-empty/eval/hints b/t/recipes/checks/fields/urgency/generic-empty/eval/hints new file mode 100644 index 0000000..361e1cc --- /dev/null +++ b/t/recipes/checks/fields/urgency/generic-empty/eval/hints @@ -0,0 +1 @@ +generic-empty (changes): bad-urgency-in-changes-file unknown |