[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 03/03: Improve sonames match test suite



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 88d984e2320a0d894ff3812b51f9c4e21f3c1bf1
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Mon Nov 14 14:19:08 2016 +0100

    Improve sonames match test suite
    
    Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
---
 t/tests/binaries-doesnt-match-sonames/debian/Makefile      |  2 +-
 .../binaries-doesnt-match-sonames/debian/debian/control.in | 14 +++++++++++++-
 .../debian/debian/libanyq16-6.install                      |  1 +
 .../debian/debian/libanyq16-6.symbols                      |  2 ++
 4 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/t/tests/binaries-doesnt-match-sonames/debian/Makefile b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
index 5e34afc..21a67b5 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/Makefile
+++ b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
@@ -2,7 +2,7 @@ CC=gcc
 MYCFLAGS=-Wall -Winline -O2 -fPIC
 CFLAGS:=$(MYCFLAGS) $(CPPFLAGS) $(CFLAGS)
 
-SONAMES:= libany.so.1 libany6gcc.so.1v6 libany5gcc.so.1
+SONAMES:= libany.so.1 libany6gcc.so.1v6 libany5gcc.so.1 libanyQ16.so.6
 LIBFILES:= $(patsubst %,%.0.1, $(SONAMES))
 
 all: $(LIBFILES)
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
index df7dfe2..2a23d1d 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
@@ -32,4 +32,16 @@ Description: {$description} with gcc 5 version
  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 test if v5 string are correctly escaped
\ No newline at end of file
+ It test if v5 string are correctly escaped
+
+Package: libanyq16-6
+Architecture: any
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: {$description} with Q16 version
+ 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 test if string are correctly escaped like for imagemagick.
+ .
+ library name is not libanyQ166
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.install b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.install
new file mode 100644
index 0000000..b4ecaea
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.install
@@ -0,0 +1 @@
+/usr/lib/libanyQ16*
\ No newline at end of file
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.symbols b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.symbols
new file mode 100644
index 0000000..0f32f79
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/libanyq16-6.symbols
@@ -0,0 +1,2 @@
+libanyQ16.so.1v6 libanyQ16-6 #MINVER#
+ e@Base 1.0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: