The following commit has been merged in the master branch:
commit 1b5746fd5c82d4009bc3a94396be843c1b1bd14a
Author: Bastien ROUCARIÈS <[email protected]>
Date:   Tue Jul 16 21:25:38 2013 +0200

    Test tag statically-linked-binary
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git a/t/tests/binaries-general/debian/Makefile 
b/t/tests/binaries-general/debian/Makefile
index 40ea1d0..ac5bd0f 100644
--- a/t/tests/binaries-general/debian/Makefile
+++ b/t/tests/binaries-general/debian/Makefile
@@ -40,6 +40,7 @@ install:
        install -m 755 -c basic.static $(DESTDIR)/usr/lib/debug/
        # according to local debian rules unstripped in name avoid dh_strip to 
do the work
        install -m 755 basicdebug $(DESTDIR)/usr/bin/unstripped
+       install -m 755 basic.static $(DESTDIR)/usr/bin/static
 
 clean distclean:
        rm -f basic
diff --git a/t/tests/binaries-general/desc b/t/tests/binaries-general/desc
index d870021..998e593 100644
--- a/t/tests/binaries-general/desc
+++ b/t/tests/binaries-general/desc
@@ -11,4 +11,5 @@ Test-For:
  debug-file-should-use-detached-symbols
  debug-file-with-no-debug-symbols
  library-in-debug-or-profile-should-not-be-stripped
+ statically-linked-binary
  unstripped-binary-or-object
diff --git a/t/tests/binaries-general/tags b/t/tests/binaries-general/tags
index ab2e298..75c0aae 100644
--- a/t/tests/binaries-general/tags
+++ b/t/tests/binaries-general/tags
@@ -4,8 +4,10 @@ E: binaries-general: binary-or-shlib-defines-rpath 
usr/lib/foo/basiclibrpath /us
 E: binaries-general: binary-or-shlib-defines-rpath usr/share/foo/basic 
/usr/local/lib
 E: binaries-general: debug-symbols-directly-in-usr-lib-debug 
usr/lib/debug/basic
 E: binaries-general: library-in-debug-or-profile-should-not-be-stripped 
usr/lib/debug/usr/share/foo/basic
+E: binaries-general: statically-linked-binary usr/bin/static
 E: binaries-general: unstripped-binary-or-object usr/bin/unstripped
 W: binaries-general: binary-compiled-with-profiling-enabled usr/share/foo/basic
+W: binaries-general: binary-without-manpage usr/bin/static
 W: binaries-general: binary-without-manpage usr/bin/unstripped
 W: binaries-general: debug-file-should-use-detached-symbols 
usr/lib/debug/.build-id/de/deadbeefdeadbeef.debug
 W: binaries-general: debug-file-with-no-debug-symbols 
usr/lib/debug/usr/share/foo/basic

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to