diff options
Diffstat (limited to 't/recipes/checks/scripts/scripts-interpreters-nodejs')
10 files changed, 27 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/examples b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/examples new file mode 100644 index 0000000..673fc28 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/examples @@ -0,0 +1,2 @@ +usr-bin-env-node +usr-bin-env-nodejs diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/install b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/install new file mode 100644 index 0000000..2dd5ea8 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/install @@ -0,0 +1,2 @@ +usr-bin-env-node usr/bin/ +usr-bin-env-nodejs usr/bin/ diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/links b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/links new file mode 100644 index 0000000..512253e --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/links @@ -0,0 +1,2 @@ +usr/share/man/man1/interpreters.1 usr/share/man/man1/usr-bin-env-node.1 +usr/share/man/man1/interpreters.1 usr/share/man/man1/usr-bin-env-nodejs.1 diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/manpages b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/manpages new file mode 100644 index 0000000..74d51b8 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/debian/manpages @@ -0,0 +1 @@ +interpreters.1 diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/fill-values b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/fill-values new file mode 100644 index 0000000..9fc1348 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: scripts-interpreters-nodejs +Description: Check various NodeJS issues diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/interpreters.1 b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/interpreters.1 new file mode 100644 index 0000000..9e6dd89 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/interpreters.1 @@ -0,0 +1,5 @@ +.TH interpreters 1 "Debian Utilities" "DEBIAN" \" -*- nroff -*- +.SH NAME +interpreters \- test script + +Dummy manpage to avoid triggering warnings about it not existing. diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-node b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-node new file mode 100644 index 0000000..4b8c521 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-node @@ -0,0 +1,3 @@ +#!/usr/bin/env node + +This is not a real JS script but sufficient for the testsuite. diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-nodejs b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-nodejs new file mode 100644 index 0000000..ecd3563 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/build-spec/orig/usr-bin-env-nodejs @@ -0,0 +1,3 @@ +#!/usr/bin/env nodejs + +This is not a real JS script but sufficient for the testsuite. diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/desc b/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/desc new file mode 100644 index 0000000..01cdd3d --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/desc @@ -0,0 +1,2 @@ +Testname: scripts-interpreters-nodejs +Check: scripts diff --git a/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/hints b/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/hints new file mode 100644 index 0000000..ba484e8 --- /dev/null +++ b/t/recipes/checks/scripts/scripts-interpreters-nodejs/eval/hints @@ -0,0 +1,4 @@ +scripts-interpreters-nodejs (binary): script-uses-deprecated-nodejs-location nodejs [usr/bin/usr-bin-env-nodejs] +scripts-interpreters-nodejs (binary): missing-dep-for-interpreter nodejs (does not satisfy nodejs:any) [usr/bin/usr-bin-env-nodejs] +scripts-interpreters-nodejs (binary): missing-dep-for-interpreter node (does not satisfy nodejs:any) [usr/bin/usr-bin-env-node] +scripts-interpreters-nodejs (binary): example-script-uses-deprecated-nodejs-location nodejs [usr/share/doc/scripts-interpreters-nodejs/examples/usr-bin-env-nodejs] |