summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/mailcap')
-rw-r--r--t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/debian/install1
-rw-r--r--t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/fill-values3
-rw-r--r--t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/orig/mailcap/imagemagick-6.q161
-rw-r--r--t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/desc2
-rw-r--r--t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/hints1
-rw-r--r--t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/debian/install1
-rw-r--r--t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/fill-values3
-rw-r--r--t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/orig/mailcap/less1
-rw-r--r--t/recipes/checks/mailcap/single-quoted-placeholder/eval/desc2
-rw-r--r--t/recipes/checks/mailcap/single-quoted-placeholder/eval/hints1
-rw-r--r--t/recipes/checks/mailcap/unquoted-placeholder/build-spec/debian/install1
-rw-r--r--t/recipes/checks/mailcap/unquoted-placeholder/build-spec/fill-values3
-rw-r--r--t/recipes/checks/mailcap/unquoted-placeholder/build-spec/orig/mailcap/lynx-common1
-rw-r--r--t/recipes/checks/mailcap/unquoted-placeholder/eval/desc4
-rw-r--r--t/recipes/checks/mailcap/unquoted-placeholder/eval/hints1
15 files changed, 26 insertions, 0 deletions
diff --git a/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/debian/install b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/debian/install
new file mode 100644
index 0000000..1bc8a8b
--- /dev/null
+++ b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/debian/install
@@ -0,0 +1 @@
+mailcap/* usr/lib/mime/packages/
diff --git a/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/fill-values b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/fill-values
new file mode 100644
index 0000000..2d66612
--- /dev/null
+++ b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: placeholder-in-quoted-string
+Description: Placeholder in mailcap file inside single quotes.
diff --git a/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/orig/mailcap/imagemagick-6.q16 b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/orig/mailcap/imagemagick-6.q16
new file mode 100644
index 0000000..666dbdf
--- /dev/null
+++ b/t/recipes/checks/mailcap/placeholder-in-quoted-string/build-spec/orig/mailcap/imagemagick-6.q16
@@ -0,0 +1 @@
+image/png; display-im6.q16 'png:%s'; test=test -n "$DISPLAY"; priority=2
diff --git a/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/desc b/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/desc
new file mode 100644
index 0000000..01206d7
--- /dev/null
+++ b/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/desc
@@ -0,0 +1,2 @@
+Testname: placeholder-in-quoted-string
+Check: mailcap
diff --git a/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/hints b/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/hints
new file mode 100644
index 0000000..63de776
--- /dev/null
+++ b/t/recipes/checks/mailcap/placeholder-in-quoted-string/eval/hints
@@ -0,0 +1 @@
+placeholder-in-quoted-string (binary): quoted-placeholder-in-mailcap-entry 'png:%s' [usr/lib/mime/packages/imagemagick-6.q16:1]
diff --git a/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/debian/install b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/debian/install
new file mode 100644
index 0000000..1bc8a8b
--- /dev/null
+++ b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/debian/install
@@ -0,0 +1 @@
+mailcap/* usr/lib/mime/packages/
diff --git a/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/fill-values b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/fill-values
new file mode 100644
index 0000000..cfa0a54
--- /dev/null
+++ b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: single-quoted-placeholder
+Description: Placeholder in mailcap file inside single quotes.
diff --git a/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/orig/mailcap/less b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/orig/mailcap/less
new file mode 100644
index 0000000..77f7410
--- /dev/null
+++ b/t/recipes/checks/mailcap/single-quoted-placeholder/build-spec/orig/mailcap/less
@@ -0,0 +1 @@
+text/plain; less '%s'; needsterminal; priority=8
diff --git a/t/recipes/checks/mailcap/single-quoted-placeholder/eval/desc b/t/recipes/checks/mailcap/single-quoted-placeholder/eval/desc
new file mode 100644
index 0000000..b2d6339
--- /dev/null
+++ b/t/recipes/checks/mailcap/single-quoted-placeholder/eval/desc
@@ -0,0 +1,2 @@
+Testname: single-quoted-placeholder
+Check: mailcap
diff --git a/t/recipes/checks/mailcap/single-quoted-placeholder/eval/hints b/t/recipes/checks/mailcap/single-quoted-placeholder/eval/hints
new file mode 100644
index 0000000..eaa8743
--- /dev/null
+++ b/t/recipes/checks/mailcap/single-quoted-placeholder/eval/hints
@@ -0,0 +1 @@
+single-quoted-placeholder (binary): quoted-placeholder-in-mailcap-entry '%s' [usr/lib/mime/packages/less:1]
diff --git a/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/debian/install b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/debian/install
new file mode 100644
index 0000000..1bc8a8b
--- /dev/null
+++ b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/debian/install
@@ -0,0 +1 @@
+mailcap/* usr/lib/mime/packages/
diff --git a/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/fill-values b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/fill-values
new file mode 100644
index 0000000..7c987f3
--- /dev/null
+++ b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: unquoted-placeholder
+Description: Placeholder in mailcap file inside single quotes.
diff --git a/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/orig/mailcap/lynx-common b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/orig/mailcap/lynx-common
new file mode 100644
index 0000000..228ce9c
--- /dev/null
+++ b/t/recipes/checks/mailcap/unquoted-placeholder/build-spec/orig/mailcap/lynx-common
@@ -0,0 +1 @@
+text/html; /usr/bin/lynx -force_html %s; needsterminal; description=HTML Text; nametemplate=%s.html; priority=3
diff --git a/t/recipes/checks/mailcap/unquoted-placeholder/eval/desc b/t/recipes/checks/mailcap/unquoted-placeholder/eval/desc
new file mode 100644
index 0000000..d50e3b2
--- /dev/null
+++ b/t/recipes/checks/mailcap/unquoted-placeholder/eval/desc
@@ -0,0 +1,4 @@
+Testname: unquoted-placeholder
+Check: mailcap
+Test-Against:
+ quoted-placeholder-in-mailcap-entry
diff --git a/t/recipes/checks/mailcap/unquoted-placeholder/eval/hints b/t/recipes/checks/mailcap/unquoted-placeholder/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/mailcap/unquoted-placeholder/eval/hints
@@ -0,0 +1 @@
+