[libgnupg-perl] 02/03: Add pre-generated keys for the tests

gregor herrmann gregoa at debian.org
Sat Jan 21 13:45:44 UTC 2017


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

gregoa pushed a commit to branch master
in repository libgnupg-perl.

commit b74cd016e8d571eb9033e3ad1ec5053711593ab3
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 21 14:39:59 2017 +0100

    Add pre-generated keys for the tests
    
    and arrange for them to being used during build and autopkgtest.
---
 debian/keyring/pubring.gpg        | Bin 0 -> 653 bytes
 debian/keyring/secring.gpg        | Bin 0 -> 1409 bytes
 debian/rules                      |   1 +
 debian/source/include-binaries    |   2 ++
 debian/tests/pkg-perl/smoke-setup |   3 +++
 5 files changed, 6 insertions(+)

diff --git a/debian/keyring/pubring.gpg b/debian/keyring/pubring.gpg
new file mode 100644
index 0000000..c3b409f
Binary files /dev/null and b/debian/keyring/pubring.gpg differ
diff --git a/debian/keyring/secring.gpg b/debian/keyring/secring.gpg
new file mode 100644
index 0000000..e7f36d3
Binary files /dev/null and b/debian/keyring/secring.gpg differ
diff --git a/debian/rules b/debian/rules
index 9fa00fd..8cffbd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,6 @@
 
 override_dh_auto_test:
 	cp -r $(CURDIR)/test $(CURDIR)/test.ori
+	cp $(CURDIR)/debian/keyring/* $(CURDIR)/test/
 	dh_auto_test
 	rm -r $(CURDIR)/test && mv $(CURDIR)/test.ori $(CURDIR)/test
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 0000000..e83ff1e
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,2 @@
+debian/keyring/pubring.gpg
+debian/keyring/secring.gpg
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..9b540bf
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cp -v $(pwd)/debian/keyring/* $TDIR/test/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgnupg-perl.git



More information about the Pkg-perl-cvs-commits mailing list