diff options
Diffstat (limited to 't/recipes/checks/team/pkg-js')
22 files changed, 111 insertions, 0 deletions
diff --git a/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/debian/install b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/debian/install new file mode 100644 index 0000000..90c4a72 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/debian/install @@ -0,0 +1 @@ +nodejs/* /usr/share/javascript/ diff --git a/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/fill-values b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/fill-values new file mode 100644 index 0000000..16aa812 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: old-buffer +Description: Uses old NodeJS buffer +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/orig/nodejs/buffer.js b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/orig/nodejs/buffer.js new file mode 100644 index 0000000..4b16188 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/build-spec/orig/nodejs/buffer.js @@ -0,0 +1,3 @@ +NODEJS FILE WITH OLD BUFFER USAGE + +new Buffer() diff --git a/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/desc b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/desc new file mode 100644 index 0000000..a324147 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/desc @@ -0,0 +1,2 @@ +Testname: old-buffer +Check: team/pkg-js/deprecated diff --git a/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/hints b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/hints new file mode 100644 index 0000000..f568f12 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/deprecated/old-buffer/eval/hints @@ -0,0 +1 @@ +old-buffer (binary): team/pkg-js/deprecated/nodejs-bad-buffer-usage [usr/share/javascript/buffer.js] diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in new file mode 100644 index 0000000..d9609cd --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Testsuite: autopkgtest-another + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/fill-values new file mode 100644 index 0000000..8818559 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: foreign-testsuite +Description: Testsuite field with a foreign, non-team test suite +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/build-spec/pre-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +DIR="$1" + +rm -rf "$DIR/debian/tests" diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc new file mode 100644 index 0000000..73d4abd --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: foreign-testsuite +Check: team/pkg-js/testsuite diff --git a/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints new file mode 100644 index 0000000..e70001d --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/foreign-testsuite/eval/hints @@ -0,0 +1 @@ +foreign-testsuite (source): team/pkg-js/testsuite/no-team-tests diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values new file mode 100644 index 0000000..baf96a0 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: no-testsuite +Description: Missing Testsuite field +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build new file mode 100755 index 0000000..1829c91 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/build-spec/pre-build @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +DIR="$1" + +rm -rf "$DIR/debian/tests" diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc new file mode 100644 index 0000000..64cff82 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/desc @@ -0,0 +1,2 @@ +Testname: no-testsuite +Check: team/pkg-js/testsuite diff --git a/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints new file mode 100644 index 0000000..e9c9456 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/testsuite/no-testsuite/eval/hints @@ -0,0 +1 @@ +no-testsuite (source): team/pkg-js/testsuite/no-testsuite-header diff --git a/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/debian/control.in b/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/debian/control.in new file mode 100644 index 0000000..5691aa8 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Vcs-Git: https://github.com/lechner/some-perl-package + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/fill-values b/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/fill-values new file mode 100644 index 0000000..e935b0f --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/personal-github/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: personal-github +Description: Personal github as VCS +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/desc b/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/desc new file mode 100644 index 0000000..c4c9dfd --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/desc @@ -0,0 +1,2 @@ +Testname: personal-github +Check: team/pkg-js/vcs diff --git a/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/hints b/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/hints new file mode 100644 index 0000000..6b5b6f0 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/personal-github/eval/hints @@ -0,0 +1 @@ +personal-github (source): team/pkg-js/vcs/no-team-url Vcs-Git https://github.com/lechner/some-perl-package diff --git a/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/debian/control.in b/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/debian/control.in new file mode 100644 index 0000000..08f0e40 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/debian/control.in @@ -0,0 +1,19 @@ +Source: [% $source %] +Priority: [% $priority %] +Section: [% $section %] +Maintainer: [% $author %] +Standards-Version: [% $standards_version %] +Build-Depends: [% $build_depends %] +Rules-Requires-Root: [% $rules_requires_root %] +Homepage: [% $homepage %] +Vcs-Svn: https://svn.debian.org/svn/some-perl-package + +Package: [% $source %] +Architecture: [% $package_architecture %] +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: [% $description %] + This is a test package designed to exercise some feature or tag of + Lintian. It is part of the Lintian test suite and may do very odd + things. It should not be installed like a regular package. It may + be an empty package. diff --git a/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/fill-values b/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/fill-values new file mode 100644 index 0000000..d942986 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/svn/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: svn +Description: Declares SVN as VCS. +Author: Javascript Team <pkg-javascript-maintainers@lists.alioth.debian.org> diff --git a/t/recipes/checks/team/pkg-js/vcs/svn/eval/desc b/t/recipes/checks/team/pkg-js/vcs/svn/eval/desc new file mode 100644 index 0000000..72a13e0 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/svn/eval/desc @@ -0,0 +1,2 @@ +Testname: svn +Check: team/pkg-js/vcs diff --git a/t/recipes/checks/team/pkg-js/vcs/svn/eval/hints b/t/recipes/checks/team/pkg-js/vcs/svn/eval/hints new file mode 100644 index 0000000..726fb25 --- /dev/null +++ b/t/recipes/checks/team/pkg-js/vcs/svn/eval/hints @@ -0,0 +1,2 @@ +svn (source): team/pkg-js/vcs/no-team-url Vcs-Svn https://svn.debian.org/svn/some-perl-package +svn (source): team/pkg-js/vcs/no-git Vcs-Svn |