[libconfig-identity-perl] 02/03: t/assets/gpg/random_seed gets changed during the tests.
gregor herrmann
gregoa at debian.org
Sun Aug 28 15:31:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libconfig-identity-perl.
commit 279f76ebaca98bf65262e3e0c864843ed03aa105
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Aug 28 17:18:17 2016 +0200
t/assets/gpg/random_seed gets changed during the tests.
Create a backup before running the tests and move it back during clean. This
allows building twice in a row.
---
debian/rules | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/rules b/debian/rules
index 463e2d2..374b00c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,10 @@
%:
dh $@
+override_dh_clean:
+ dh_clean
+ [ ! -e $(CURDIR)/t/assets/gpg/random_seed.save ] || mv -v $(CURDIR)/t/assets/gpg/random_seed.save $(CURDIR)/t/assets/gpg/random_seed
+
override_dh_auto_test:
+ [ ! -e $(CURDIR)/t/assets/gpg/random_seed ] || cp -v $(CURDIR)/t/assets/gpg/random_seed $(CURDIR)/t/assets/gpg/random_seed.save
CI_GPG=/usr/bin/gpg1 dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-identity-perl.git
More information about the Pkg-perl-cvs-commits
mailing list