summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/menus/legacy-filenames/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/menus/legacy-filenames/eval')
-rw-r--r--t/recipes/checks/menus/legacy-filenames/eval/desc2
-rw-r--r--t/recipes/checks/menus/legacy-filenames/eval/hints4
-rw-r--r--t/recipes/checks/menus/legacy-filenames/eval/post-test3
3 files changed, 9 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/legacy-filenames/eval/desc b/t/recipes/checks/menus/legacy-filenames/eval/desc
new file mode 100644
index 0000000..1996c48
--- /dev/null
+++ b/t/recipes/checks/menus/legacy-filenames/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-filenames
+Check: menus
diff --git a/t/recipes/checks/menus/legacy-filenames/eval/hints b/t/recipes/checks/menus/legacy-filenames/eval/hints
new file mode 100644
index 0000000..e63e8f0
--- /dev/null
+++ b/t/recipes/checks/menus/legacy-filenames/eval/hints
@@ -0,0 +1,4 @@
+filenames (binary): postinst-does-not-call-updatemenus [usr/share/menu/menu]
+filenames (binary): menu-file-in-usr-lib [usr/lib/menu/menu]
+filenames (binary): bad-menu-file-name [usr/share/menu/menu]
+filenames (binary): bad-menu-file-name [usr/lib/menu/menu]
diff --git a/t/recipes/checks/menus/legacy-filenames/eval/post-test b/t/recipes/checks/menus/legacy-filenames/eval/post-test
new file mode 100644
index 0000000..571e35d
--- /dev/null
+++ b/t/recipes/checks/menus/legacy-filenames/eval/post-test
@@ -0,0 +1,3 @@
+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
+/package-installs-packlist/ d