summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/menus/spelling-general
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/menus/spelling-general
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/menus/spelling-general')
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/changelog.in13
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/copyright21
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/doc-base9
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/patches/add-readme8
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/patches/nonrel6
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/patches/series3
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/debian/patches/spelling6
-rw-r--r--t/recipes/checks/menus/spelling-general/build-spec/fill-values6
-rw-r--r--t/recipes/checks/menus/spelling-general/eval/desc2
-rw-r--r--t/recipes/checks/menus/spelling-general/eval/hints3
10 files changed, 77 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/changelog.in b/t/recipes/checks/menus/spelling-general/build-spec/debian/changelog.in
new file mode 100644
index 0000000..2d380f5
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/changelog.in
@@ -0,0 +1,13 @@
+[% $source %] ([% $version %]) unstable; urgency=low
+
+ * Lintian Test Suite.
+ * Test: [% $testname %]
+
+ * Suppress "should close ITP bug" messages. (Closes: #123456)
+ * This line has a speling error.
+ - This line has the same speling error, but we should only
+ get one tag for it.
+ * Corrected spelling: abov -> above.
+ * Corrected typo: abov -> above.
+
+ -- [% $author %] [% $date %]
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/copyright b/t/recipes/checks/menus/spelling-general/build-spec/debian/copyright
new file mode 100644
index 0000000..30cbe5c
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/copyright
@@ -0,0 +1,21 @@
+This duplicate duplicate word should not trigger. (re. #897402)
+
+This is part of the testsuite of lintian. See the file debian/copyright
+in the lintian source directory for more details.
+
+Insofar as this is copyrightable, it is:
+
+ Copyright 2010 Russ Allbery <rra@debian.org>
+
+This text should not generate a spelling error for "ment":
+
+ computer software documentation," as such terms are used in
+ 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern-
+ ment only as a commercial end item. Consistent with 48 C.F.R.
+ 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995),
+
+But deafult is still a spelling error.
+
+This text should not generate a spelling error for the duplicate "a" (re. #844166)
+
+ following Attribution Information: (a) a copyright notice including the name
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/doc-base b/t/recipes/checks/menus/spelling-general/build-spec/debian/doc-base
new file mode 100644
index 0000000..3839a9b
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/doc-base
@@ -0,0 +1,9 @@
+Document: spelling-general
+Title: Check for debian doc-base spelling errors
+Author: Russ Allbery
+Abstract: This control file exercises, picky, speling error checks for
+ Debian doc-base files, such as meta-package.
+Section: Programming
+
+Format: text
+Files: /usr/share/doc/spelling-general/copyright
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/add-readme b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/add-readme
new file mode 100644
index 0000000..b1647ba
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/add-readme
@@ -0,0 +1,8 @@
+This is a deliberate speling error. duplicate
+
+duplicate
+
+--- upstream.orig/README
++++ upstream/README
+@@ -0,0 +1 @@
++Added by patch system.
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/nonrel b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/nonrel
new file mode 100644
index 0000000..48e7740
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/nonrel
@@ -0,0 +1,6 @@
+This is a deliberate speling error. (false positive; description mentions typo)
+
+--- upstream.orig/nonrel
++++ upstream/nonrel
+@@ -0,0 +1 @@
++Added by patch system.
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/series b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/series
new file mode 100644
index 0000000..0bfb03d
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/series
@@ -0,0 +1,3 @@
+add-readme
+spelling
+nonrel
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/spelling b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/spelling
new file mode 100644
index 0000000..29b9cfd
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/debian/patches/spelling
@@ -0,0 +1,6 @@
+This is a deliberate speling error. (false positive; filename match)
+
+--- upstream.orig/spelling
++++ upstream/spelling
+@@ -0,0 +1 @@
++Added by patch system.
diff --git a/t/recipes/checks/menus/spelling-general/build-spec/fill-values b/t/recipes/checks/menus/spelling-general/build-spec/fill-values
new file mode 100644
index 0000000..5d925c5
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/build-spec/fill-values
@@ -0,0 +1,6 @@
+Testname: spelling-general
+Skeleton: upload-non-native
+Source-Format: 3.0 (quilt)
+Description: General checks for spelling errors
+# doc-base installation paths now include the package name, see Bug#980903
+Extra-Build-Depends: debhelper (>= 13.4)
diff --git a/t/recipes/checks/menus/spelling-general/eval/desc b/t/recipes/checks/menus/spelling-general/eval/desc
new file mode 100644
index 0000000..e9af29d
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/eval/desc
@@ -0,0 +1,2 @@
+Testname: spelling-general
+Check: menus
diff --git a/t/recipes/checks/menus/spelling-general/eval/hints b/t/recipes/checks/menus/spelling-general/eval/hints
new file mode 100644
index 0000000..57e1f9c
--- /dev/null
+++ b/t/recipes/checks/menus/spelling-general/eval/hints
@@ -0,0 +1,3 @@
+spelling-general (binary): spelling-error-in-doc-base-title-field debian Debian [usr/share/doc-base/spelling-general.spelling-general:2]
+spelling-general (binary): spelling-error-in-doc-base-abstract-field speling spelling [usr/share/doc-base/spelling-general.spelling-general:5]
+spelling-general (binary): spelling-error-in-doc-base-abstract-field meta-package metapackage [usr/share/doc-base/spelling-general.spelling-general:5]