diff options
Diffstat (limited to 't/recipes/checks/menus/menus-doc-base-general')
8 files changed, 47 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc1 b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc1 new file mode 100644 index 0000000..947e56c --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc1 @@ -0,0 +1,8 @@ +Document: doc1 +Title: Document 1 +Author: Lintian maintainers +Abstract: Document 1 +Section: Programming/Something + +Format: text +Files: /usr/share/doc/menus-doc-base-general/doc1.txt diff --git a/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc2 b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc2 new file mode 100644 index 0000000..6dcc2f5 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/doc-base.doc2 @@ -0,0 +1,18 @@ + +Document: doc2 +Title: Document 2 +Author: Lintian maintainers +Author: Duplicate field... oops. +Abstract: Document 2 + Blah bla manage online manuals Debian blah bla + . + The second line is totally a template. Oh yeah, a space too + much on the " ."-line followed by wrong indentation. +Section: Apps/Programming + + + +Format: text +Files: /usr/share/doc/menus-doc-base-general/doc2.txt + +oops, this is a syntax error. diff --git a/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/docs b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/docs new file mode 100644 index 0000000..d411609 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/debian/docs @@ -0,0 +1,2 @@ +doc1.txt +doc2.txt diff --git a/t/recipes/checks/menus/menus-doc-base-general/build-spec/fill-values b/t/recipes/checks/menus/menus-doc-base-general/build-spec/fill-values new file mode 100644 index 0000000..690b230 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/fill-values @@ -0,0 +1,5 @@ +Skeleton: upload-native +Testname: menus-doc-base-general +Description: Test some doc-base related tags +# 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/menus-doc-base-general/build-spec/orig/doc1.txt b/t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc1.txt new file mode 100644 index 0000000..5071182 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc1.txt @@ -0,0 +1 @@ +Document 1 diff --git a/t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc2.txt b/t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc2.txt new file mode 100644 index 0000000..b0374f0 --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/build-spec/orig/doc2.txt @@ -0,0 +1 @@ +Document 2 diff --git a/t/recipes/checks/menus/menus-doc-base-general/eval/desc b/t/recipes/checks/menus/menus-doc-base-general/eval/desc new file mode 100644 index 0000000..3360ebc --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/eval/desc @@ -0,0 +1,4 @@ +Testname: menus-doc-base-general +Test-Against: doc-base-unknown-section +See-Also: Debian Bug#495836 +Check: menus diff --git a/t/recipes/checks/menus/menus-doc-base-general/eval/hints b/t/recipes/checks/menus/menus-doc-base-general/eval/hints new file mode 100644 index 0000000..795a26d --- /dev/null +++ b/t/recipes/checks/menus/menus-doc-base-general/eval/hints @@ -0,0 +1,8 @@ +menus-doc-base-general (binary): duplicate-field-in-doc-base Author [usr/share/doc-base/menus-doc-base-general.doc2:5] +menus-doc-base-general (binary): doc-base-uses-applications-section Apps/Programming [usr/share/doc-base/menus-doc-base-general.doc2:11] +menus-doc-base-general (binary): doc-base-file-syntax-error [usr/share/doc-base/menus-doc-base-general.doc2:18] +menus-doc-base-general (binary): doc-base-file-separator-extra-whitespace [usr/share/doc-base/menus-doc-base-general.doc2:13] +menus-doc-base-general (binary): doc-base-document-field-not-in-first-line [usr/share/doc-base/menus-doc-base-general.doc2:2] +menus-doc-base-general (binary): doc-base-abstract-might-contain-extra-leading-whitespace [usr/share/doc-base/menus-doc-base-general.doc2:10] +menus-doc-base-general (binary): doc-base-abstract-field-separator-extra-whitespace [usr/share/doc-base/menus-doc-base-general.doc2:8] +menus-doc-base-general (binary): doc-base-abstract-field-is-template [usr/share/doc-base/menus-doc-base-general.doc2:10] |