diff options
Diffstat (limited to '')
8 files changed, 70 insertions, 0 deletions
diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/README.source b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/README.source new file mode 100644 index 0000000..0bbaa60 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/README.source @@ -0,0 +1 @@ +Some information about the patch system diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/rules b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_prep: + dh_prep -X~ -Xrej + +clean: + @echo 'Do nothing' diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/somepackage.substvars b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/somepackage.substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/somepackage.substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/substvars b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/fill-values b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/fill-values new file mode 100644 index 0000000..01bda9c --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-general-quilt +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Check for cruft added in a 3.0 (quilt) package diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/pre-build b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/pre-build new file mode 100755 index 0000000..53e0ddd --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/build-spec/pre-build @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Create all the various junk that shouldn't exist in the diff so that we can +# trigger all the tags. + +set -e +dir="$1/debian" + +mkdir "${dir}/CVS" +echo 'diff-contains-cvs-control-dir' > "${dir}/CVS/Entries" +mkdir "${dir}/.svn" +echo 'diff-contains-svn-control-dir' > "${dir}/.svn/format" +mkdir "${dir}/.bzr" +echo 'diff-contains-bzr-control-dir' > "${dir}/.bzr/foo" +mkdir "${dir}/{arch}" +echo 'diff-contains-arch-control-dir' > "${dir}/{arch}/foo" +mkdir "${dir}/.git" +echo 'diff-contains-git-control-dir' > "${dir}/.git/foo" +mkdir "${dir}/.hg" +echo 'diff-contains-hg-control-dir' > "${dir}/.hg/foo" +mkdir "${dir}/.be" +echo 'diff-contains-bts-control-dir' > "${dir}/.be/foo" +mkdir "${dir}/.pc" +echo 'diff-contains-quilt-control-dir' > "${dir}/.pc/foo" + +echo 'diff-contains-cmake-cache-file' > "${dir}/CMakeCache.txt" +echo 'diff-contains-svn-commit-file' > "${dir}/svn-commit.tmp" +echo 'diff-contains-svk-commit-file' > "${dir}/svk-commit444.tmp" +echo 'diff-contains-arch-inventory-file' > "${dir}/.arch-inventory" +echo 'diff-contains-hg-tags-file' > "${dir}/.hgtags" +echo 'diff-contains-cvs-conflict-copy' > "${dir}/.#foo.1.1" +echo 'diff-contains-svn-conflict-file' > "${dir}/foo.r1352" +echo 'diff-contains-patch-failure-file' > "${dir}/foo.rej" +echo 'diff-contains-editor-backup-file' > "${dir}/foo~" diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/eval/desc b/t/recipes/checks/files/artifact/cruft-general-quilt/eval/desc new file mode 100644 index 0000000..8148862 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/eval/desc @@ -0,0 +1,4 @@ +Testname: cruft-general-quilt +Check: files/artifact +See-Also: + Bug#598251 diff --git a/t/recipes/checks/files/artifact/cruft-general-quilt/eval/hints b/t/recipes/checks/files/artifact/cruft-general-quilt/eval/hints new file mode 100644 index 0000000..f6d19f8 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-quilt/eval/hints @@ -0,0 +1,16 @@ +cruft-general-quilt (source): debian-adds-svn-control-dir [debian/.svn/] +cruft-general-quilt (source): debian-adds-svn-conflict-file [debian/foo.r1352] +cruft-general-quilt (source): debian-adds-svn-commit-file [debian/svn-commit.tmp] +cruft-general-quilt (source): debian-adds-svk-commit-file [debian/svk-commit444.tmp] +cruft-general-quilt (source): debian-adds-quilt-control-dir [debian/.pc/] +cruft-general-quilt (source): debian-adds-patch-failure-file [debian/foo.rej] +cruft-general-quilt (source): debian-adds-hg-tags-file [debian/.hgtags] +cruft-general-quilt (source): debian-adds-hg-control-dir [debian/.hg/] +cruft-general-quilt (source): debian-adds-git-control-dir [debian/.git/] +cruft-general-quilt (source): debian-adds-editor-backup-file [debian/foo~] +cruft-general-quilt (source): debian-adds-cvs-control-dir [debian/CVS/] +cruft-general-quilt (source): debian-adds-cvs-conflict-copy [debian/.#foo.1.1] +cruft-general-quilt (source): debian-adds-bzr-control-dir [debian/.bzr/] +cruft-general-quilt (source): debian-adds-bts-control-dir [debian/.be/] +cruft-general-quilt (source): debian-adds-arch-inventory-file [debian/.arch-inventory] +cruft-general-quilt (source): debian-adds-arch-control-dir [debian/{arch}/] |