summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/documentation/legacy-filenames/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/documentation/legacy-filenames/eval')
-rw-r--r--t/recipes/checks/documentation/legacy-filenames/eval/desc2
-rw-r--r--t/recipes/checks/documentation/legacy-filenames/eval/hints9
-rw-r--r--t/recipes/checks/documentation/legacy-filenames/eval/post-test3
3 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/legacy-filenames/eval/desc b/t/recipes/checks/documentation/legacy-filenames/eval/desc
new file mode 100644
index 0000000..3781b96
--- /dev/null
+++ b/t/recipes/checks/documentation/legacy-filenames/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-filenames
+Check: documentation
diff --git a/t/recipes/checks/documentation/legacy-filenames/eval/hints b/t/recipes/checks/documentation/legacy-filenames/eval/hints
new file mode 100644
index 0000000..3a19c7c
--- /dev/null
+++ b/t/recipes/checks/documentation/legacy-filenames/eval/hints
@@ -0,0 +1,9 @@
+filenames (binary): zero-byte-file-in-doc-directory [usr/share/doc/filenames/news.debian.gz]
+filenames (binary): zero-byte-file-in-doc-directory [usr/share/doc/filenames/examples/very_interesting_example2.gz]
+filenames (binary): zero-byte-file-in-doc-directory [usr/share/doc/filenames/README.macosx]
+filenames (binary): zero-byte-file-in-doc-directory [usr/share/doc/filenames/NEWS.Debian]
+filenames (binary): package-contains-readme-for-other-platform-or-distro [usr/share/doc/filenames/README.macosx]
+filenames (binary): package-contains-documentation-outside-usr-share-doc [usr/share/pixmaps/license.txt]
+filenames (binary): package-contains-documentation-outside-usr-share-doc [usr/share/menu/README]
+filenames (binary): package-contains-documentation-outside-usr-share-doc [usr/lib/menu/README]
+filenames (binary): package-contains-documentation-outside-usr-share-doc [usr/lib/ma-dir/perl/version/foo/.hg_archival.txt]
diff --git a/t/recipes/checks/documentation/legacy-filenames/eval/post-test b/t/recipes/checks/documentation/legacy-filenames/eval/post-test
new file mode 100644
index 0000000..571e35d
--- /dev/null
+++ b/t/recipes/checks/documentation/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