summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/artifact/cruft-empty-diff
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/artifact/cruft-empty-diff')
-rw-r--r--t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/fill-values4
-rwxr-xr-xt/recipes/checks/files/artifact/cruft-empty-diff/build-spec/pre-upstream.in5
-rw-r--r--t/recipes/checks/files/artifact/cruft-empty-diff/eval/desc4
-rw-r--r--t/recipes/checks/files/artifact/cruft-empty-diff/eval/hints1
4 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/fill-values b/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/fill-values
new file mode 100644
index 0000000..f616eca
--- /dev/null
+++ b/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: cruft-empty-diff
+Source-Format: 1.0
+Skeleton: upload-non-native
+Description: Test an empty Debian diff
diff --git a/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/pre-upstream.in b/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/pre-upstream.in
new file mode 100755
index 0000000..9dcdfd1
--- /dev/null
+++ b/t/recipes/checks/files/artifact/cruft-empty-diff/build-spec/pre-upstream.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+cp -rp "[% $source_path %]/debian" "$1"
diff --git a/t/recipes/checks/files/artifact/cruft-empty-diff/eval/desc b/t/recipes/checks/files/artifact/cruft-empty-diff/eval/desc
new file mode 100644
index 0000000..a14797e
--- /dev/null
+++ b/t/recipes/checks/files/artifact/cruft-empty-diff/eval/desc
@@ -0,0 +1,4 @@
+Testname: cruft-empty-diff
+Check: files/artifact
+See-Also:
+ Bug#498668
diff --git a/t/recipes/checks/files/artifact/cruft-empty-diff/eval/hints b/t/recipes/checks/files/artifact/cruft-empty-diff/eval/hints
new file mode 100644
index 0000000..a0d7c56
--- /dev/null
+++ b/t/recipes/checks/files/artifact/cruft-empty-diff/eval/hints
@@ -0,0 +1 @@
+cruft-empty-diff (source): no-debian-changes