summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/shlibs/legacy-libbaz/eval
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debian/shlibs/legacy-libbaz/eval
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.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/checks/debian/shlibs/legacy-libbaz/eval')
-rw-r--r--t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc2
-rw-r--r--t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints20
-rwxr-xr-xt/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test4
3 files changed, 26 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc
new file mode 100644
index 0000000..ad73840
--- /dev/null
+++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/desc
@@ -0,0 +1,2 @@
+Testname: legacy-libbaz
+Check: debian/shlibs
diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints
new file mode 100644
index 0000000..8e668dc
--- /dev/null
+++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/hints
@@ -0,0 +1,20 @@
+libbaz2 (binary): no-symbols-control-file usr/lib/libbaz2.so.1.0.3b
+libbaz1 (binary): symbols-for-undeclared-shared-library libbaz 2
+libbaz1 (binary): symbols-file-missing-build-depends-package-field libbaz.so.2 [symbols]
+libbaz1 (binary): symbols-file-contains-debian-revision on symbol foo (libbaz.so.2) [symbols]
+libbaz1 (binary): symbols-file-contains-current-version-with-debian-revision on symbol pw (libbaz.so.2) [symbols]
+libbaz1 (binary): surplus-shared-library-symbols libbaz 2 [symbols]
+libbaz1 (binary): ships-undeclared-shared-library libbaz2 1.0 for usr/lib/libfoo2.so.1.0.3b [shlibs]
+libbaz1 (binary): shared-library-symbols-not-tracked libbaz3 1 for usr/lib/libbaz3.so.1.0.3b [symbols]
+libbaz1 (binary): shared-library-symbols-not-tracked libbaz2 1.0 for usr/lib/libfoo2.so.1.0.3b [symbols]
+libbaz1 (binary): shared-library-symbols-not-tracked libbaz.so for usr/lib/libbaz.so [symbols]
+libbaz1 (binary): shared-library-not-shipped udeb: libdoesntexist2 1.0 [shlibs]
+libbaz1 (binary): shared-library-not-shipped libdoesntexist2 1.0 [shlibs]
+libbaz1 (binary): shared-library-not-shipped libbaz5 1 [shlibs]
+libbaz1 (binary): shared-library-not-shipped libbaz4 1 [shlibs]
+libbaz1 (binary): shared-library-not-shipped libbaz2 1.1 [shlibs]
+libbaz1 (binary): shared-library-lacks-version usr/lib/libbaz.so libbaz.so
+libbaz1 (binary): duplicate-in-shlibs (lines 7 8) udeb: libdoesntexist2 1.0 [shlibs]
+libbaz1 (binary): duplicate-in-shlibs (lines 1 2) libdoesntexist2 1.0 [shlibs]
+libbaz1 (binary): distant-prerequisite-in-shlibs libbaz2 [shlibs]
+libbaz1 (binary): distant-prerequisite-in-shlibs libbaz1 (>> 1-1) [shlibs]
diff --git a/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test
new file mode 100755
index 0000000..29dc3f4
--- /dev/null
+++ b/t/recipes/checks/debian/shlibs/legacy-libbaz/eval/post-test
@@ -0,0 +1,4 @@
+/: hardening-.*/ d
+s/\(current is ([0-9]+\.)+[0-9]\)/(current is CURRENT)/
+s,usr/lib/([^\/]*/)?perl[0-9]*(/[0-9]*\.[0-9]*)?/,usr/lib/ma-dir/perl/version/,g
+/: file-references-package-build-path / d