summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--T.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 46acb19..2f77795 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
1all: 1all:
2check: 2check:
3 PATH=$(CURDIR):$(PATH) DH_AUTOSCRIPTDIR=$(CURDIR) prove -I.
4autopkgtest:
3 prove -I. 5 prove -I.
4.PHONY: check 6.PHONY: check
diff --git a/T.pm b/T.pm
index 4178fd8..4cc407e 100644
--- a/T.pm
+++ b/T.pm
@@ -10,8 +10,6 @@ our @ISA = qw(Exporter);
10our @EXPORT = qw(system_ok); 10our @EXPORT = qw(system_ok);
11 11
12my $root = Cwd::cwd; 12my $root = Cwd::cwd;
13$ENV{PATH} = "$root:$ENV{PATH}";
14$ENV{DH_AUTOSCRIPTDIR} = $root;
15 13
16die '$0 does not match expected format' 14die '$0 does not match expected format'
17 unless ($0 =~ m#t/([0-9]+)\.t#); 15 unless ($0 =~ m#t/([0-9]+)\.t#);