summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/deb-format/deb-format-wrong-order
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/deb-format/deb-format-wrong-order')
-rw-r--r--t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members3
-rw-r--r--t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values6
-rw-r--r--t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc4
-rw-r--r--t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints2
4 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members
new file mode 100644
index 0000000..58b239b
--- /dev/null
+++ b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/deb-members
@@ -0,0 +1,3 @@
+members/debian-binary
+members/data.tar.gz
+members/control.tar.gz
diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values
new file mode 100644
index 0000000..2468c16
--- /dev/null
+++ b/t/recipes/checks/deb-format/deb-format-wrong-order/build-spec/fill-values
@@ -0,0 +1,6 @@
+Skeleton: deb
+Testname: deb-format-wrong-order
+Description: Test package for an ar archive in the wrong order
+Extra-Build-Depends: dpkg (<< 1.17.2)
+# dpkg 1.17.2 Do not allow deb packages with control
+# and data members swapped
diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc
new file mode 100644
index 0000000..a1da169
--- /dev/null
+++ b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/desc
@@ -0,0 +1,4 @@
+Testname: deb-format-wrong-order
+Check: deb-format
+# dpkg 1.17.2 Do not allow deb packages with control
+# and data members swapped
diff --git a/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints
new file mode 100644
index 0000000..b4c7aa6
--- /dev/null
+++ b/t/recipes/checks/deb-format/deb-format-wrong-order/eval/hints
@@ -0,0 +1,2 @@
+deb-format-wrong-order (binary): malformed-deb-archive third (official) member control.tar.gz not data.tar.((gz|xz|bz2|lzma)
+deb-format-wrong-order (binary): malformed-deb-archive second (official) member data.tar.gz not control.tar.(gz|xz)