[libsvn-notify-perl] 01/03: t/script.t: When running autopkgtests test the installed svnnotify script

Salvatore Bonaccorso carnil at debian.org
Fri Apr 29 16:13:03 UTC 2016


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

carnil pushed a commit to branch master
in repository libsvn-notify-perl.

commit 292a4d2431c5dd57cad048c0b367f99d630e986e
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Fri Apr 29 18:05:32 2016 +0200

    t/script.t: When running autopkgtests test the installed svnnotify script
---
 debian/patches/autopkgtests.patch | 23 +++++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/autopkgtests.patch b/debian/patches/autopkgtests.patch
new file mode 100644
index 0000000..8e51abb
--- /dev/null
+++ b/debian/patches/autopkgtests.patch
@@ -0,0 +1,23 @@
+Description: t/script.t: When running autopkgtests test the installed svnnotify script
+Origin: vendor
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2016-04-29
+
+--- a/t/script.t
++++ b/t/script.t
+@@ -6,6 +6,12 @@ use File::Spec::Functions;
+ print "1..1\n";
+ # Silence "Syntax OK".
+ close STDERR;
+-my $ret = system $^X, '-cw', '-I' . catdir(curdir, qw(blib lib)),
++my $ret;
++if ( $ENV{'ADTTMP'} ) {
++    $ret = system $^X, '-cw', '/usr/bin/svnnotify';
++}
++else {
++    $ret = system $^X, '-cw', '-I' . catdir(curdir, qw(blib lib)),
+   '-I' . catdir(curdir, qw(lib)), catfile(curdir, 'bin', 'svnnotify');
++}
+ print +($ret ? 'not ' : ''), "ok 1\n"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5c8daf5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+autopkgtests.patch

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



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