diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/artifact/cruft-general-native | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
6 files changed, 62 insertions, 0 deletions
diff --git a/t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/rules b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/rules new file mode 100755 index 0000000..413418b --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/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-native/build-spec/debian/substvars b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/substvars new file mode 100644 index 0000000..abd3ebe --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/debian/substvars @@ -0,0 +1 @@ +misc:Depends= diff --git a/t/recipes/checks/files/artifact/cruft-general-native/build-spec/fill-values b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/fill-values new file mode 100644 index 0000000..8460259 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: cruft-general-native +Description: Check for cruft in a native package diff --git a/t/recipes/checks/files/artifact/cruft-general-native/build-spec/pre-build b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/pre-build new file mode 100755 index 0000000..c594074 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/build-spec/pre-build @@ -0,0 +1,32 @@ +#!/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" + +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" + +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-native/eval/desc b/t/recipes/checks/files/artifact/cruft-general-native/eval/desc new file mode 100644 index 0000000..08a8e32 --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/eval/desc @@ -0,0 +1,2 @@ +Testname: cruft-general-native +Check: files/artifact diff --git a/t/recipes/checks/files/artifact/cruft-general-native/eval/hints b/t/recipes/checks/files/artifact/cruft-general-native/eval/hints new file mode 100644 index 0000000..46e6e4e --- /dev/null +++ b/t/recipes/checks/files/artifact/cruft-general-native/eval/hints @@ -0,0 +1,15 @@ +cruft-general-native (source): source-contains-svn-control-dir [.svn/] +cruft-general-native (source): source-contains-svn-conflict-file [foo.r1352] +cruft-general-native (source): source-contains-svn-commit-file [svn-commit.tmp] +cruft-general-native (source): source-contains-svk-commit-file [svk-commit444.tmp] +cruft-general-native (source): source-contains-patch-failure-file [foo.rej] +cruft-general-native (source): source-contains-hg-tags-file [.hgtags] +cruft-general-native (source): source-contains-hg-control-dir [.hg/] +cruft-general-native (source): source-contains-git-control-dir [.git/] +cruft-general-native (source): source-contains-editor-backup-file [foo~] +cruft-general-native (source): source-contains-cvs-control-dir [CVS/] +cruft-general-native (source): source-contains-cvs-conflict-copy [.#foo.1.1] +cruft-general-native (source): source-contains-bzr-control-dir [.bzr/] +cruft-general-native (source): source-contains-bts-control-dir [.be/] +cruft-general-native (source): source-contains-arch-inventory-file [.arch-inventory] +cruft-general-native (source): source-contains-arch-control-dir [{arch}/] |