[libstring-shellquote-perl] 13/14: autokpgtest fixes
gregor herrmann
gregoa at debian.org
Fri Aug 4 16:26:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libstring-shellquote-perl.
commit b7ef46570a869c738a92752b52e3c6f022c05393
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Aug 4 12:22:57 2017 -0400
autokpgtest fixes
Gbp-Dch: Ignore
---
debian/patches/autopkgtest.patch | 15 +++++++++++++++
debian/patches/series | 1 +
debian/tests/pkg-perl/smoke-files | 1 +
debian/tests/pkg-perl/smoke-tests | 1 +
4 files changed, 18 insertions(+)
diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch
new file mode 100644
index 0000000..583737a
--- /dev/null
+++ b/debian/patches/autopkgtest.patch
@@ -0,0 +1,15 @@
+Description: adjust path under autopkgtest
+Origin: vendor
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-08-04
+
+--- a/test.t
++++ b/test.t
+@@ -84,6 +84,7 @@
+ sub via_shell {
+ my @args = @_;
+ my $cmd = 'blib/script/shell-quote';
++ $cmd = '/usr/bin/shell-quote' if $ENV{ADTTMP};
+ my $pid = open PIPE, '-|';
+ defined $pid
+ or return "can't fork: $!\n";
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aba7ccb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtest.patch
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..5f12a2d
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1 @@
+test.t
diff --git a/debian/tests/pkg-perl/smoke-tests b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..5f12a2d
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1 @@
+test.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libstring-shellquote-perl.git
More information about the Pkg-perl-cvs-commits
mailing list