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

[SCM] Debian package checker branch, master, updated. 2.5.2-25-g60cdb11



The following commit has been merged in the master branch:
commit 60cdb1174df35f09d8d5c375b2b17fcde2842926
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Aug 16 19:49:51 2011 +0200

    Updated test coverage in the new suite

diff --git a/t/COVERAGE b/t/COVERAGE
index 7b8704e..6492c71 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-08-16
-Coverage: 687/915 (75.08%), w. legacy tests: 815/915 (89.07%)
+Coverage: 689/915 (75.30%), w. legacy tests: 815/915 (89.07%)
 
 The following tags are not tested by the test suite:
 
@@ -123,7 +123,6 @@ The following tags are only tested by the legacy test suite:
 binaries binary-has-unneeded-section
 binaries binary-with-bad-dynamic-table
 binaries debug-file-should-use-detached-symbols
-binaries package-name-doesnt-match-sonames
 binaries shared-lib-without-dependency-information
 binaries statically-linked-binary
 binaries unstripped-binary-or-object
@@ -251,7 +250,6 @@ scripts update-alternatives-remove-called-in-postrm
 
 shared-libs duplicate-entry-in-symbols-control-file
 shared-libs invalid-template-id-in-symbols-file
-shared-libs ldconfig-symlink-missing-for-shlib
 shared-libs sharedobject-in-library-directory-missing-soname
 shared-libs symbols-declared-but-not-shlib
 shared-libs symbols-declares-dependency-on-other-package
@@ -373,8 +371,6 @@ filenames
 foo++
 
 libbaz
-  ldconfig-symlink-missing-for-shlib
-  package-name-doesnt-match-sonames
   postinst-should-not-set-usr-doc-link
 
 maintainer-scripts
diff --git a/t/tests/shared-libs-exit-fork/debian/Makefile b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
similarity index 94%
copy from t/tests/shared-libs-exit-fork/debian/Makefile
copy to t/tests/binaries-doesnt-match-sonames/debian/Makefile
index 02a3474..3deb0a2 100644
--- a/t/tests/shared-libs-exit-fork/debian/Makefile
+++ b/t/tests/binaries-doesnt-match-sonames/debian/Makefile
@@ -1,7 +1,7 @@
 CC=gcc
 CFLAGS=-Wall -Winline -O2 -fPIC
 
-SONAMES:= libexecbit.so.1
+SONAMES:= libany.so.1
 LIBFILES:= $(patsubst %,%.0.1, $(SONAMES))
 
 all: $(LIBFILES)
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/code.c b/t/tests/binaries-doesnt-match-sonames/debian/code.c
new file mode 100644
index 0000000..0d033cd
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/code.c
@@ -0,0 +1,2 @@
+void e(void){
+}
diff --git a/t/tests/shared-libs-exit/debian/debian/control.in b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
similarity index 95%
copy from t/tests/shared-libs-exit/debian/debian/control.in
copy to t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
index 8119117..4b15828 100644
--- a/t/tests/shared-libs-exit/debian/debian/control.in
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/control.in
@@ -5,7 +5,7 @@ Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7.0.50~)
 
-Package: libexecbit1
+Package: mylibany
 Architecture: any
 Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
 Description: {$description}
diff --git a/t/tests/binaries-doesnt-match-sonames/debian/debian/mylibany.symbols b/t/tests/binaries-doesnt-match-sonames/debian/debian/mylibany.symbols
new file mode 100644
index 0000000..9b6f454
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/debian/debian/mylibany.symbols
@@ -0,0 +1,2 @@
+libany.so.1 mylibany #MINVER#
+ e@Base 1.0
diff --git a/t/tests/binaries-doesnt-match-sonames/desc b/t/tests/binaries-doesnt-match-sonames/desc
new file mode 100644
index 0000000..a280e36
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/desc
@@ -0,0 +1,6 @@
+Testname: binaries-doesnt-match-sonames
+Sequence: 6000
+Architecture: any
+Version: 1.0
+Description: Test for library package that does not match SONAME
+Test-For: package-name-doesnt-match-sonames
diff --git a/t/tests/binaries-doesnt-match-sonames/tags b/t/tests/binaries-doesnt-match-sonames/tags
new file mode 100644
index 0000000..5bf4fec
--- /dev/null
+++ b/t/tests/binaries-doesnt-match-sonames/tags
@@ -0,0 +1 @@
+W: mylibany: package-name-doesnt-match-sonames libany1
diff --git a/t/tests/shared-libs-exit-fork/debian/Makefile b/t/tests/shared-libs-missing-ldconfig-symlink/debian/Makefile
similarity index 79%
copy from t/tests/shared-libs-exit-fork/debian/Makefile
copy to t/tests/shared-libs-missing-ldconfig-symlink/debian/Makefile
index 02a3474..7596292 100644
--- a/t/tests/shared-libs-exit-fork/debian/Makefile
+++ b/t/tests/shared-libs-missing-ldconfig-symlink/debian/Makefile
@@ -15,8 +15,5 @@ clean:
 install: all
 	install -m 0755 -d $(DESTDIR)/usr/lib
 	install -m 0755 *.so* $(DESTDIR)/usr/lib
-	for FILE in $(SONAMES) ; do \
-	    ln -s $${FILE}.0.1 $(DESTDIR)/usr/lib/$$FILE ; \
-	done
 
 .PHONY: install clean
diff --git a/t/tests/shared-libs-exit-fork/debian/code.c b/t/tests/shared-libs-missing-ldconfig-symlink/debian/code.c
similarity index 100%
copy from t/tests/shared-libs-exit-fork/debian/code.c
copy to t/tests/shared-libs-missing-ldconfig-symlink/debian/code.c
diff --git a/t/tests/shared-libs-exec-bit/debian/debian/control.in b/t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/control.in
similarity index 100%
copy from t/tests/shared-libs-exec-bit/debian/debian/control.in
copy to t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/control.in
diff --git a/t/tests/shared-libs-exit-fork/debian/debian/libexecbit1.symbols b/t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/libexecbit1.symbols
similarity index 100%
copy from t/tests/shared-libs-exit-fork/debian/debian/libexecbit1.symbols
copy to t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/libexecbit1.symbols
diff --git a/t/tests/shared-libs-exit-fork/debian/debian/rules b/t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/rules
similarity index 100%
copy from t/tests/shared-libs-exit-fork/debian/debian/rules
copy to t/tests/shared-libs-missing-ldconfig-symlink/debian/debian/rules
diff --git a/t/tests/shared-libs-missing-ldconfig-symlink/desc b/t/tests/shared-libs-missing-ldconfig-symlink/desc
new file mode 100644
index 0000000..8d5eab7
--- /dev/null
+++ b/t/tests/shared-libs-missing-ldconfig-symlink/desc
@@ -0,0 +1,5 @@
+Testname: shared-libs-missing-ldconfig-symlink
+Sequence: 6000
+Version: 1.0
+Description: Test for missing ldconfig symlink for shared libs
+Test-For: ldconfig-symlink-missing-for-shlib
diff --git a/t/tests/shared-libs-missing-ldconfig-symlink/tags b/t/tests/shared-libs-missing-ldconfig-symlink/tags
new file mode 100644
index 0000000..31827a7
--- /dev/null
+++ b/t/tests/shared-libs-missing-ldconfig-symlink/tags
@@ -0,0 +1 @@
+E: libexecbit1: ldconfig-symlink-missing-for-shlib usr/lib/libexecbit.so.1 usr/lib/libexecbit.so.1.0.1 libexecbit.so.1

-- 
Debian package checker


Reply to: