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

[SCM] Debian package checker branch, master, updated. 2.5.4-60-g3425bd8



The following commit has been merged in the master branch:
commit 3425bd858e450e27a999a6f07c54578fc6bc174d
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Dec 21 23:49:56 2011 +0100

    Added test for multi-arch foreign pkg with shared lib
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/COVERAGE b/t/COVERAGE
index cff66a5..0479a0b 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-12-21
-Coverage: 781/951 (82.12%), w. legacy tests: 889/951 (93.48%)
+Coverage: 784/954 (82.18%), w. legacy tests: 892/954 (93.50%)
 
 The following tags are not tested by the test suite:
 
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/Makefile b/t/tests/shared-libs-multi-arch-foreign/debian/Makefile
similarity index 94%
copy from t/tests/binaries-doesnt-match-sonames/debian/Makefile
copy to t/tests/shared-libs-multi-arch-foreign/debian/Makefile
index 3deb0a2..f2157b6 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/Makefile
+++ b/t/tests/shared-libs-multi-arch-foreign/debian/Makefile
@@ -1,7 +1,7 @@
 CC=gcc
 CFLAGS=-Wall -Winline -O2 -fPIC
 
-SONAMES:= libany.so.1
+SONAMES:= libhallo.so.1
 LIBFILES:= $(patsubst %,%.0.1, $(SONAMES))
 
 all: $(LIBFILES)
diff --git a/t/tests/shared-libs-multi-arch-foreign/debian/code.c b/t/tests/shared-libs-multi-arch-foreign/debian/code.c
new file mode 100644
index 0000000..ae5d71a
--- /dev/null
+++ b/t/tests/shared-libs-multi-arch-foreign/debian/code.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+void e(void){
+  printf("Hallo World!\n");
+}
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in b/t/tests/shared-libs-multi-arch-foreign/debian/debian/control.in
similarity index 91%
copy from t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
copy to t/tests/shared-libs-multi-arch-foreign/debian/debian/control.in
index 4b15828..7f312bc 100644
--- a/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
+++ b/t/tests/shared-libs-multi-arch-foreign/debian/debian/control.in
@@ -5,9 +5,10 @@ Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7.0.50~)
 
-Package: mylibany
+Package: libhallo1
 Architecture: any
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Multi-Arch: foreign
 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
diff --git a/t/tests/shared-libs-exit-fork/debian/debian/libexecbit1.symbols b/t/tests/shared-libs-multi-arch-foreign/debian/debian/libhallo1.symbols
similarity index 100%
copy from t/tests/shared-libs-exit-fork/debian/debian/libexecbit1.symbols
copy to t/tests/shared-libs-multi-arch-foreign/debian/debian/libhallo1.symbols
diff --git a/t/tests/shared-libs-exit-fork/debian/debian/rules b/t/tests/shared-libs-multi-arch-foreign/debian/debian/rules
similarity index 100%
copy from t/tests/shared-libs-exit-fork/debian/debian/rules
copy to t/tests/shared-libs-multi-arch-foreign/debian/debian/rules
diff --git a/t/tests/shared-libs-multi-arch-foreign/desc b/t/tests/shared-libs-multi-arch-foreign/desc
new file mode 100644
index 0000000..d5581dd
--- /dev/null
+++ b/t/tests/shared-libs-multi-arch-foreign/desc
@@ -0,0 +1,5 @@
+Testname: shared-libs-multi-arch-foreign
+Sequence: 6000
+Version: 1.0
+Description: Test for shared libs in m-a foreign pkgs
+Test-For: shlib-in-multi-arch-foreign-package
diff --git a/t/tests/shared-libs-multi-arch-foreign/tags b/t/tests/shared-libs-multi-arch-foreign/tags
new file mode 100644
index 0000000..1b1c606
--- /dev/null
+++ b/t/tests/shared-libs-multi-arch-foreign/tags
@@ -0,0 +1 @@
+E: libhallo1: shlib-in-multi-arch-foreign-package usr/lib/libhallo.so.1.0.1

-- 
Debian package checker


Reply to: