diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/lintian-features/exit-status | |
parent | Initial commit. (diff) | |
download | lintian-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/lintian-features/exit-status')
25 files changed, 200 insertions, 0 deletions
diff --git a/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/debian/patches/series b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/debian/patches/series new file mode 100644 index 0000000..b2bfa72 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/debian/patches/series @@ -0,0 +1 @@ +non-existing.patch diff --git a/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/fill-values b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/fill-values new file mode 100644 index 0000000..0be681a --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fail-on-error-by-default +Skeleton: source-native +Description: Exit status for error tags +Extra-Build-Depends: quilt diff --git a/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/desc b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/desc new file mode 100644 index 0000000..e5f0839 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/desc @@ -0,0 +1,5 @@ +Testname: fail-on-error-by-default +Exit-Status: 2 +Output-Format: EWI +Match-Strategy: literal +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/literal b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/literal new file mode 100644 index 0000000..3224fc5 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error-by-default/eval/literal @@ -0,0 +1,2 @@ +E: fail-on-error-by-default source: quilt-series-references-non-existent-patch non-existing.patch [debian/patches/series] +W: fail-on-error-by-default source: patch-system-but-no-source-readme diff --git a/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/debian/patches/series b/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/debian/patches/series new file mode 100644 index 0000000..b2bfa72 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/debian/patches/series @@ -0,0 +1 @@ +non-existing.patch diff --git a/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/fill-values b/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/fill-values new file mode 100644 index 0000000..39e4198 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: fail-on-error +Skeleton: source-native +Description: Fail on error tag +Extra-Build-Depends: quilt diff --git a/t/recipes/lintian-features/exit-status/fail-on-error/eval/desc b/t/recipes/lintian-features/exit-status/fail-on-error/eval/desc new file mode 100644 index 0000000..5ed4fd8 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error/eval/desc @@ -0,0 +1,6 @@ +Testname: fail-on-error +Options: --fail-on error +Exit-Status: 2 +Output-Format: EWI +Match-Strategy: literal +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/lintian-features/exit-status/fail-on-error/eval/literal b/t/recipes/lintian-features/exit-status/fail-on-error/eval/literal new file mode 100644 index 0000000..07096d1 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-error/eval/literal @@ -0,0 +1,2 @@ +E: fail-on-error source: quilt-series-references-non-existent-patch non-existing.patch [debian/patches/series] +W: fail-on-error source: patch-system-but-no-source-readme diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/debian/manpages b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/fill-values b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/fill-values new file mode 100644 index 0000000..353a301 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: fail-on-info +Skeleton: upload-native +Description: Exit status for info tags with --fail-on info diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/orig/man/lsmod.8 b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/orig/man/lsmod.8 new file mode 100644 index 0000000..e323bd6 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/build-spec/orig/man/lsmod.8 @@ -0,0 +1,59 @@ +'\" t +.\" Title: lsmod +.\" Author: Jon Masters <jcm@jonmasters.org> +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 02/09/2019 +.\" Manual: lsmod +.\" Source: kmod +.\" Language: English +.\" +.TH "LSMOD" "8" "02/09/2019" "kmod" "lsmod" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +lsmod \- Show the status of modules in the Linux Kernel +.SH "SYNOPSIS" +.HP \w'\fBlsmod\fR\ 'u +\fBlsmod\fR +.SH "DESCRIPTION" +.PP +\fBlsmod\fR +is a trivial program which nicely formats the contents of the +/proc/modules, showing what kernel modules are currently loaded\&. +.SH "COPYRIGHT" +.PP +This manual page originally Copyright 2002, Rusty Russell, IBM Corporation\&. Maintained by Jon Masters and others\&. +.SH "SEE ALSO" +.PP +\fBinsmod\fR(8), +\fBmodprobe\fR(8), +\fBmodinfo\fR(8) +\fBdepmod\fR(8) +.SH "AUTHORS" +.PP +\fBJon Masters\fR <\&jcm@jonmasters\&.org\&> +.RS 4 +Developer +.RE +.PP +\fBLucas De Marchi\fR <\&lucas\&.de\&.marchi@gmail\&.com\&> +.RS 4 +Developer +.RE diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/eval/desc b/t/recipes/lintian-features/exit-status/fail-on-info/eval/desc new file mode 100644 index 0000000..ebf6942 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/eval/desc @@ -0,0 +1,6 @@ +Testname: fail-on-info +Options: --fail-on info +Exit-Status: 2 +Output-Format: EWI +Match-Strategy: literal +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/eval/hints b/t/recipes/lintian-features/exit-status/fail-on-info/eval/hints new file mode 100644 index 0000000..d32006d --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/eval/hints @@ -0,0 +1,14 @@ +fail-on-info (source): standards-version 4.5.0 +fail-on-info (source): source-format 3.0 (native) +fail-on-info (source): rules-does-not-require-root +fail-on-info (source): package-is-maintained-by-individual +fail-on-info (source): debian-build-system dh +fail-on-info (source): debhelper-compat-virtual-relation 13 +fail-on-info (source): debhelper-compat-level 13 +fail-on-info (changes): package-is-maintained-by-individual +fail-on-info (buildinfo): package-is-maintained-by-individual +fail-on-info (binary): package-is-maintained-by-individual +fail-on-info (binary): no-ctrl-scripts +fail-on-info (binary): manpage-without-executable usr/share/man/man8/lsmod.8.gz +fail-on-info (binary): data-tarball-compression-format xz +fail-on-info (binary): control-tarball-compression-format xz diff --git a/t/recipes/lintian-features/exit-status/fail-on-info/eval/literal b/t/recipes/lintian-features/exit-status/fail-on-info/eval/literal new file mode 100644 index 0000000..43f8d4d --- /dev/null +++ b/t/recipes/lintian-features/exit-status/fail-on-info/eval/literal @@ -0,0 +1 @@ +I: fail-on-info: spare-manual-page [usr/share/man/man8/lsmod.8.gz] diff --git a/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/debian/manpages b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/debian/manpages new file mode 100644 index 0000000..85c5e00 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/debian/manpages @@ -0,0 +1 @@ +man/* diff --git a/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/fill-values b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/fill-values new file mode 100644 index 0000000..53d5862 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/fill-values @@ -0,0 +1,3 @@ +Testname: no-fail-on-info-by-default +Skeleton: upload-non-native +Description: Exit status for info tags diff --git a/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/orig/man/lsmod.8 b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/orig/man/lsmod.8 new file mode 100644 index 0000000..e323bd6 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/build-spec/orig/man/lsmod.8 @@ -0,0 +1,59 @@ +'\" t +.\" Title: lsmod +.\" Author: Jon Masters <jcm@jonmasters.org> +.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> +.\" Date: 02/09/2019 +.\" Manual: lsmod +.\" Source: kmod +.\" Language: English +.\" +.TH "LSMOD" "8" "02/09/2019" "kmod" "lsmod" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +lsmod \- Show the status of modules in the Linux Kernel +.SH "SYNOPSIS" +.HP \w'\fBlsmod\fR\ 'u +\fBlsmod\fR +.SH "DESCRIPTION" +.PP +\fBlsmod\fR +is a trivial program which nicely formats the contents of the +/proc/modules, showing what kernel modules are currently loaded\&. +.SH "COPYRIGHT" +.PP +This manual page originally Copyright 2002, Rusty Russell, IBM Corporation\&. Maintained by Jon Masters and others\&. +.SH "SEE ALSO" +.PP +\fBinsmod\fR(8), +\fBmodprobe\fR(8), +\fBmodinfo\fR(8) +\fBdepmod\fR(8) +.SH "AUTHORS" +.PP +\fBJon Masters\fR <\&jcm@jonmasters\&.org\&> +.RS 4 +Developer +.RE +.PP +\fBLucas De Marchi\fR <\&lucas\&.de\&.marchi@gmail\&.com\&> +.RS 4 +Developer +.RE diff --git a/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/desc b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/desc new file mode 100644 index 0000000..73e0055 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/desc @@ -0,0 +1,5 @@ +Testname: no-fail-on-info-by-default +Exit-Status: 0 +Output-Format: EWI +Match-Strategy: literal +Default-Lintian-Options: --pedantic --display-info --display-experimental diff --git a/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/literal b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/literal new file mode 100644 index 0000000..6a3843c --- /dev/null +++ b/t/recipes/lintian-features/exit-status/no-fail-on-info-by-default/eval/literal @@ -0,0 +1,5 @@ +I: no-fail-on-info-by-default source: older-debian-watch-file-standard 3 [debian/watch] +I: no-fail-on-info-by-default: spare-manual-page [usr/share/man/man8/lsmod.8.gz] +I: no-fail-on-info-by-default source: upstream-metadata-missing-bug-tracking [debian/upstream/metadata] +I: no-fail-on-info-by-default source: upstream-metadata-missing-repository [debian/upstream/metadata] +X: no-fail-on-info-by-default source: debian-watch-does-not-check-openpgp-signature [debian/watch] diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/install b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/install new file mode 100644 index 0000000..d5d2b1d --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/install @@ -0,0 +1 @@ +file /usr/share/file diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/lintian-overrides b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/lintian-overrides new file mode 100644 index 0000000..16c3ee0 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/debian/lintian-overrides @@ -0,0 +1,2 @@ +# package installs a d/rules template not a script +missing-dep-for-interpreter /usr/bin/make * diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/fill-values b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/fill-values new file mode 100644 index 0000000..700aa18 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: show-overrides-exit-status +Description: Bug #1019690 correct exit status when show-overrides diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/orig/file b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/orig/file new file mode 100755 index 0000000..e8e22ba --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/build-spec/orig/file @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with elpa diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/desc b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/desc new file mode 100644 index 0000000..e3c20ef --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/desc @@ -0,0 +1,6 @@ +Testname: show-overrides-exit-status +Check: scripts +Exit-Status: 0 +Match-Strategy: literal +Output-Format: EWI +Default-Lintian-Options: --show-overrides --fail-on error diff --git a/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/literal b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/literal new file mode 100644 index 0000000..d328053 --- /dev/null +++ b/t/recipes/lintian-features/exit-status/show-overrides-exit-status/eval/literal @@ -0,0 +1,2 @@ +N: package installs a d/rules template not a script +O: show-overrides-exit-status: missing-dep-for-interpreter /usr/bin/make (does not satisfy make:any | build-essential:any | dpkg-dev:any) [usr/share/file/file] |