[libgnupg-interface-perl] 02/03: autopkgtest: move tests to temporary directory

gregor herrmann gregoa at debian.org
Thu Aug 28 19:11:44 UTC 2014


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

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

commit 253377b06d7afeb23d038362c91e91a7526a1c10
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 28 12:10:17 2014 -0700

    autopkgtest: move tests to temporary directory
    
    and run them from there to avoid (b)lib/ being used.
---
 debian/tests/regression | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/tests/regression b/debian/tests/regression
index 27fbc0e..b11dc90 100755
--- a/debian/tests/regression
+++ b/debian/tests/regression
@@ -1,4 +1,10 @@
 #!/bin/sh
 set -e
 
+TDIR=$ADTTMP/regression
+
+mkdir $TDIR
+cp -r t test $TDIR
+cd $TDIR
+
 prove --merge --verbose --recurse t

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



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