summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/substvars/cruft-general-wig-pen
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debian/substvars/cruft-general-wig-pen')
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen5
-rwxr-xr-xt/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules9
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars1
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README1
-rwxr-xr-xt/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build32
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc2
-rw-r--r--t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints1
8 files changed, 55 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen
new file mode 100644
index 0000000..a452b53
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/patches/wig-pen
@@ -0,0 +1,5 @@
+--- upstream/README
++++ debian/README
+@@ -1 +1 @@
+-README
++README for wig&pen
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/rules
new file mode 100755
index 0000000..413418b
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/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/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars
new file mode 100644
index 0000000..abd3ebe
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/debian/substvars
@@ -0,0 +1 @@
+misc:Depends=
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values
new file mode 100644
index 0000000..edb39d9
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: cruft-general-wig-pen
+Skeleton: upload-non-native
+Source-Format: 2.0
+Description: Check for cruft added in a 2.0 package
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/orig/README
@@ -0,0 +1 @@
+README
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/build-spec/pre-build
new file mode 100755
index 0000000..78f359c
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/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/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"
+
+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/debian/substvars/cruft-general-wig-pen/eval/desc b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc
new file mode 100644
index 0000000..72b8327
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-general-wig-pen
+Check: debian/substvars
diff --git a/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints
new file mode 100644
index 0000000..e1dd703
--- /dev/null
+++ b/t/recipes/checks/debian/substvars/cruft-general-wig-pen/eval/hints
@@ -0,0 +1 @@
+cruft-general-wig-pen (source): source-contains-debian-substvars [debian/substvars]