summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/scripts/scripts-interpreters/eval
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/scripts/scripts-interpreters/eval')
-rw-r--r--t/recipes/checks/scripts/scripts-interpreters/eval/desc3
-rw-r--r--t/recipes/checks/scripts/scripts-interpreters/eval/hints19
2 files changed, 22 insertions, 0 deletions
diff --git a/t/recipes/checks/scripts/scripts-interpreters/eval/desc b/t/recipes/checks/scripts/scripts-interpreters/eval/desc
new file mode 100644
index 0000000..7ee5e3f
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-interpreters/eval/desc
@@ -0,0 +1,3 @@
+Testname: scripts-interpreters
+See-Also: Debian Bug#543873
+Check: scripts
diff --git a/t/recipes/checks/scripts/scripts-interpreters/eval/hints b/t/recipes/checks/scripts/scripts-interpreters/eval/hints
new file mode 100644
index 0000000..e9858ff
--- /dev/null
+++ b/t/recipes/checks/scripts/scripts-interpreters/eval/hints
@@ -0,0 +1,19 @@
+scripts-interpreters (binary): wrong-path-for-interpreter perl != /usr/bin/perl [usr/bin/not-absolute]
+scripts-interpreters (binary): wrong-path-for-interpreter /usr/local/bin/perl != /usr/bin/perl [usr/bin/usr-local-bin-perl]
+scripts-interpreters (binary): wrong-path-for-interpreter /bin/perl != /usr/bin/perl [usr/bin/wrong-perl-path]
+scripts-interpreters (binary): unusual-interpreter /usr/bin/lintian [usr/bin/unusual]
+scripts-interpreters (binary): script-without-interpreter [usr/bin/no-interpreter]
+scripts-interpreters (binary): script-uses-bin-env /bin/env [usr/bin/bin-env]
+scripts-interpreters (binary): missing-dep-for-interpreter /usr/bin/pike7.6 (does not satisfy pike7.6:any | pike7.6-core:any) [usr/bin/versioned-pike]
+scripts-interpreters (binary): missing-dep-for-interpreter /usr/bin/pike (does not satisfy pike7.6:any | pike7.6-core:any | pike7.8:any | pike7.8-core:any) [usr/bin/unversioned-pike]
+scripts-interpreters (binary): interpreter-not-absolute perl [usr/bin/not-absolute]
+scripts-interpreters (binary): interpreter-in-usr-local /usr/local/bin/special-perl [usr/bin/usr-local]
+scripts-interpreters (binary): incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/bin/usr-bin-env-perl]
+scripts-interpreters (binary): example-wrong-path-for-interpreter perl != /usr/bin/perl [usr/share/doc/scripts-interpreters/examples/not-absolute]
+scripts-interpreters (binary): example-wrong-path-for-interpreter /bin/perl != /usr/bin/perl [usr/share/doc/scripts-interpreters/examples/wrong-perl-path]
+scripts-interpreters (binary): example-unusual-interpreter /usr/bin/lintian [usr/share/doc/scripts-interpreters/examples/unusual]
+scripts-interpreters (binary): example-script-without-interpreter [usr/share/doc/scripts-interpreters/examples/no-interpreter]
+scripts-interpreters (binary): example-script-uses-bin-env /bin/env [usr/share/doc/scripts-interpreters/examples/bin-env]
+scripts-interpreters (binary): example-interpreter-not-absolute perl [usr/share/doc/scripts-interpreters/examples/not-absolute]
+scripts-interpreters (binary): example-interpreter-in-usr-local /usr/local/bin/special-perl [usr/share/doc/scripts-interpreters/examples/usr-local]
+scripts-interpreters (binary): example-incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/share/doc/scripts-interpreters/examples/usr-bin-env-perl]