summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/locales/files-locales
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/locales/files-locales
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/files/locales/files-locales')
-rw-r--r--t/recipes/checks/files/locales/files-locales/build-spec/debian/install6
-rw-r--r--t/recipes/checks/files/locales/files-locales/build-spec/fill-values3
-rw-r--r--t/recipes/checks/files/locales/files-locales/build-spec/orig/dummy1
-rw-r--r--t/recipes/checks/files/locales/files-locales/eval/desc2
-rw-r--r--t/recipes/checks/files/locales/files-locales/eval/hints4
5 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/files/locales/files-locales/build-spec/debian/install b/t/recipes/checks/files/locales/files-locales/build-spec/debian/install
new file mode 100644
index 0000000..00baa2f
--- /dev/null
+++ b/t/recipes/checks/files/locales/files-locales/build-spec/debian/install
@@ -0,0 +1,6 @@
+dummy usr/share/locale/en_US/
+dummy usr/share/locale/en_UK/
+dummy usr/share/locale/ind/
+dummy usr/share/locale/wa/
+dummy usr/share/locale/zz/
+dummy usr/share/locale/cz_CZ/
diff --git a/t/recipes/checks/files/locales/files-locales/build-spec/fill-values b/t/recipes/checks/files/locales/files-locales/build-spec/fill-values
new file mode 100644
index 0000000..9b586cc
--- /dev/null
+++ b/t/recipes/checks/files/locales/files-locales/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: files-locales
+Description: Test checks about incorrect locale codes
diff --git a/t/recipes/checks/files/locales/files-locales/build-spec/orig/dummy b/t/recipes/checks/files/locales/files-locales/build-spec/orig/dummy
new file mode 100644
index 0000000..5c3118d
--- /dev/null
+++ b/t/recipes/checks/files/locales/files-locales/build-spec/orig/dummy
@@ -0,0 +1 @@
+dummy file
diff --git a/t/recipes/checks/files/locales/files-locales/eval/desc b/t/recipes/checks/files/locales/files-locales/eval/desc
new file mode 100644
index 0000000..04335b5
--- /dev/null
+++ b/t/recipes/checks/files/locales/files-locales/eval/desc
@@ -0,0 +1,2 @@
+Testname: files-locales
+Check: files/locales
diff --git a/t/recipes/checks/files/locales/files-locales/eval/hints b/t/recipes/checks/files/locales/files-locales/eval/hints
new file mode 100644
index 0000000..aae9405
--- /dev/null
+++ b/t/recipes/checks/files/locales/files-locales/eval/hints
@@ -0,0 +1,4 @@
+files-locales (binary): unknown-locale-code zz [usr/share/locale/zz/]
+files-locales (binary): incorrect-locale-code ind -> id [usr/share/locale/ind/]
+files-locales (binary): incorrect-locale-code en_UK -> en_GB [usr/share/locale/en_UK/]
+files-locales (binary): incorrect-locale-code cz_CZ -> cs_CZ [usr/share/locale/cz_CZ/]