summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/trimmed
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/trimmed')
-rw-r--r--t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/trimmed/native-source/eval/desc2
-rw-r--r--t/recipes/checks/fields/trimmed/native-source/eval/hints1
-rw-r--r--t/recipes/checks/fields/trimmed/native-source/eval/post-test2
-rw-r--r--t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values3
-rw-r--r--t/recipes/checks/fields/trimmed/native-upload/eval/desc2
-rw-r--r--t/recipes/checks/fields/trimmed/native-upload/eval/hints3
-rw-r--r--t/recipes/checks/fields/trimmed/native-upload/eval/post-test2
8 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values b/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values
new file mode 100644
index 0000000..f544650
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-source/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: source-native
+Testname: native-source
+Description: Plain native source package for trimmed field classification tags.
diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/desc b/t/recipes/checks/fields/trimmed/native-source/eval/desc
new file mode 100644
index 0000000..8efa431
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-source/eval/desc
@@ -0,0 +1,2 @@
+Testname: native-source
+Check: fields/trimmed
diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/hints b/t/recipes/checks/fields/trimmed/native-source/eval/hints
new file mode 100644
index 0000000..7bdcf2a
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-source/eval/hints
@@ -0,0 +1 @@
+native-source (source): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org>
diff --git a/t/recipes/checks/fields/trimmed/native-source/eval/post-test b/t/recipes/checks/fields/trimmed/native-source/eval/post-test
new file mode 100644
index 0000000..de6da8f
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-source/eval/post-test
@@ -0,0 +1,2 @@
+# retain one field for illustration; many are too volatile for a test
+/[^ ]* \([^)]*\): trimmed-field Maintainer .*/!d
diff --git a/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values b/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values
new file mode 100644
index 0000000..dcfb84f
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-upload/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: native-upload
+Description: Plain native changes file with debs for trimmed field classification tags.
diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/desc b/t/recipes/checks/fields/trimmed/native-upload/eval/desc
new file mode 100644
index 0000000..a327de3
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-upload/eval/desc
@@ -0,0 +1,2 @@
+Testname: native-upload
+Check: fields/trimmed
diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/hints b/t/recipes/checks/fields/trimmed/native-upload/eval/hints
new file mode 100644
index 0000000..976d6f3
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-upload/eval/hints
@@ -0,0 +1,3 @@
+native-upload (source): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org>
+native-upload (changes): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org>
+native-upload (binary): trimmed-field Maintainer Debian Lintian Maintainers <lintian-maint@debian.org>
diff --git a/t/recipes/checks/fields/trimmed/native-upload/eval/post-test b/t/recipes/checks/fields/trimmed/native-upload/eval/post-test
new file mode 100644
index 0000000..de6da8f
--- /dev/null
+++ b/t/recipes/checks/fields/trimmed/native-upload/eval/post-test
@@ -0,0 +1,2 @@
+# retain one field for illustration; many are too volatile for a test
+/[^ ]* \([^)]*\): trimmed-field Maintainer .*/!d