[SCM] Debian package checker branch, master, updated. 2.5.0-rc2-128-ge07d36c
The following commit has been merged in the master branch:
commit e07d36cff33272252fda0df2137773b8f92248ee
Author: Niels Thykier <niels@thykier.net>
Date: Thu Apr 14 18:40:23 2011 +0200
Added new test and updated coverage
diff --git a/t/COVERAGE b/t/COVERAGE
index 35826d5..23e756a 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,4 +1,4 @@
-Last generated 2011-04-05
+Last generated 2011-04-14
The following tags are not tested by the test suite:
@@ -24,6 +24,8 @@ control-files control-file-has-bad-owner
control-files not-allowed-control-file
control-files unknown-control-file
+copyright-file cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package
+
cruft documentation-package-not-architecture-independent
cruft source-contains-prebuilt-windows-binary
@@ -332,7 +334,6 @@ 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 shlib-with-executable-bit
shared-libs symbols-declared-but-not-shlib
shared-libs symbols-declares-dependency-on-other-package
shared-libs syntax-error-in-symbols-file
@@ -476,7 +477,6 @@ libbaz
missing-depends-line
package-name-doesnt-match-sonames
postinst-should-not-set-usr-doc-link
- shlib-with-executable-bit
maintainer-scripts
ancient-dpkg-epoch-check
diff --git a/t/tests/shared-libs-symbols-file/upstream/Makefile b/t/tests/shared-libs-exec-bit/debian/Makefile
similarity index 81%
copy from t/tests/shared-libs-symbols-file/upstream/Makefile
copy to t/tests/shared-libs-exec-bit/debian/Makefile
index ab3b59b..02a3474 100644
--- a/t/tests/shared-libs-symbols-file/upstream/Makefile
+++ b/t/tests/shared-libs-exec-bit/debian/Makefile
@@ -1,7 +1,7 @@
CC=gcc
CFLAGS=-Wall -Winline -O2 -fPIC
-SONAMES:= libfoo.so.1 libsym.so.1 libesym.so.1
+SONAMES:= libexecbit.so.1
LIBFILES:= $(patsubst %,%.0.1, $(SONAMES))
all: $(LIBFILES)
@@ -14,7 +14,7 @@ clean:
install: all
install -m 0755 -d $(DESTDIR)/usr/lib
- install -m 0644 *.so* $(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
diff --git a/t/tests/shared-libs-control-file/debian/code.c b/t/tests/shared-libs-exec-bit/debian/code.c
similarity index 100%
copy from t/tests/shared-libs-control-file/debian/code.c
copy to t/tests/shared-libs-exec-bit/debian/code.c
diff --git a/t/tests/files-empty/debian/debian/control.in b/t/tests/shared-libs-exec-bit/debian/debian/control.in
similarity index 85%
copy from t/tests/files-empty/debian/debian/control.in
copy to t/tests/shared-libs-exec-bit/debian/debian/control.in
index fc7a0e1..8119117 100644
--- a/t/tests/files-empty/debian/debian/control.in
+++ b/t/tests/shared-libs-exec-bit/debian/debian/control.in
@@ -1,12 +1,12 @@
Source: {$srcpkg}
Priority: extra
-Section: {$section}
+Section: libs
Maintainer: {$author}
Standards-Version: {$standards_version}
Build-Depends: debhelper (>= 7.0.50~)
-Package: {$srcpkg}
-Architecture: {$architecture}
+Package: libexecbit1
+Architecture: any
Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
Description: {$description}
This is a test package designed to exercise some feature or tag of
diff --git a/t/tests/shared-libs-exec-bit/debian/debian/libexecbit1.symbols b/t/tests/shared-libs-exec-bit/debian/debian/libexecbit1.symbols
new file mode 100644
index 0000000..d8226ca
--- /dev/null
+++ b/t/tests/shared-libs-exec-bit/debian/debian/libexecbit1.symbols
@@ -0,0 +1,3 @@
+libexecbit.so.1 libexecbit1 #MINVER#
+ e@Base 1.0
+ energy@Base 0.9
diff --git a/t/tests/shared-libs-exec-bit/debian/debian/rules b/t/tests/shared-libs-exec-bit/debian/debian/rules
new file mode 100644
index 0000000..bbe07f9
--- /dev/null
+++ b/t/tests/shared-libs-exec-bit/debian/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+DUPSHF:=debian/libdupshf1/DEBIAN/shlibs
+
+%:
+ dh $@
+
+override_dh_fixperms:
+ # Do nothing, TYIA
diff --git a/t/tests/shared-libs-exec-bit/desc b/t/tests/shared-libs-exec-bit/desc
new file mode 100644
index 0000000..2566dc0
--- /dev/null
+++ b/t/tests/shared-libs-exec-bit/desc
@@ -0,0 +1,6 @@
+Testname: shared-libs-exec-bit
+Sequence: 6000
+Version: 1.0
+Description: Test checks related to libs with exec bit
+Test-For:
+ shlib-with-executable-bit
diff --git a/t/tests/shared-libs-exec-bit/tags b/t/tests/shared-libs-exec-bit/tags
new file mode 100644
index 0000000..b5dc545
--- /dev/null
+++ b/t/tests/shared-libs-exec-bit/tags
@@ -0,0 +1 @@
+E: libexecbit1: shlib-with-executable-bit usr/lib/libexecbit.so.1.0.1 0755
--
Debian package checker
Reply to: