summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/control-files/legacy-libbaz/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/control-files/legacy-libbaz/eval')
-rw-r--r--t/recipes/checks/control-files/legacy-libbaz/eval/desc2
-rw-r--r--t/recipes/checks/control-files/legacy-libbaz/eval/hints11
-rwxr-xr-xt/recipes/checks/control-files/legacy-libbaz/eval/post-test4
3 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/desc b/t/recipes/checks/control-files/legacy-libbaz/eval/desc
new file mode 100644
index 0000000..fda1fde
--- /dev/null
+++ b/t/recipes/checks/control-files/legacy-libbaz/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-libbaz
+Check: control-files
diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/hints b/t/recipes/checks/control-files/legacy-libbaz/eval/hints
new file mode 100644
index 0000000..83003be
--- /dev/null
+++ b/t/recipes/checks/control-files/legacy-libbaz/eval/hints
@@ -0,0 +1,11 @@
+libbaz2-dev (binary): no-ctrl-scripts
+libbaz2-dbg (binary): no-ctrl-scripts
+libbaz2 (binary): no-ctrl-scripts
+libbaz1-dev (binary): ctrl-script [prerm]
+libbaz1-dev (binary): ctrl-script [postinst]
+libbaz1 (binary): ctrl-script [symbols]
+libbaz1 (binary): ctrl-script [shlibs]
+libbaz1 (binary): ctrl-script [prerm]
+libbaz1 (binary): ctrl-script [postinst]
+libbaz1 (binary): control-file-has-bad-permissions 0755 != 0644 [symbols]
+libbaz1 (binary): control-file-has-bad-permissions 0755 != 0644 [shlibs]
diff --git a/t/recipes/checks/control-files/legacy-libbaz/eval/post-test b/t/recipes/checks/control-files/legacy-libbaz/eval/post-test
new file mode 100755
index 0000000..29dc3f4
--- /dev/null
+++ b/t/recipes/checks/control-files/legacy-libbaz/eval/post-test
@@ -0,0 +1,4 @@
+/: hardening-.*/ d
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
+s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g
+/: file-references-package-build-path / d