[libfile-userconfig-perl] 01/02: autopkgtest: fix problems with smoke test.
gregor herrmann
gregoa at debian.org
Wed Jan 3 18:43:36 UTC 2018
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfile-userconfig-perl.
commit 5e0f811511d57f0c7c27d530e24ba2b0155d8c08
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Jan 3 19:39:56 2018 +0100
autopkgtest: fix problems with smoke test.
We need to setup the share directory in the testbed.
---
debian/tests/pkg-perl/smoke-env | 2 +-
debian/tests/pkg-perl/smoke-files | 5 ++---
debian/tests/pkg-perl/smoke-setup | 4 ++++
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
index 5211283..e0f13a0 100644
--- a/debian/tests/pkg-perl/smoke-env
+++ b/debian/tests/pkg-perl/smoke-env
@@ -1 +1 @@
-HOME=debian/build
+HOME=$ADTTMP
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
index 8a5914c..5d97968 100644
--- a/debian/tests/pkg-perl/smoke-files
+++ b/debian/tests/pkg-perl/smoke-files
@@ -1,3 +1,2 @@
-t
-blib
-debian/build
+t/
+share/
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..5cdd1d3
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+mkdir -p $TDIR/blib/lib/auto/share/dist/File-UserConfig
+cp $(pwd)/share/afile.conf $TDIR/blib/lib/auto/share/dist/File-UserConfig/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-userconfig-perl.git
More information about the Pkg-perl-cvs-commits
mailing list