summaryrefslogtreecommitdiff
path: root/t/size.t
diff options
context:
space:
mode:
Diffstat (limited to 't/size.t')
-rwxr-xr-xt/size.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/size.t b/t/size.t
index 79564af8..5a16db43 100755
--- a/t/size.t
+++ b/t/size.t
@@ -7,7 +7,8 @@ use strict;
use warnings;
use Test::More;
-my @progs=grep { -x $_ } glob("dh_*");
+my $binpath = $ENV{AUTOPKGTEST_TMP} ? '/usr/bin' : '.';
+my @progs=grep { -x $_ } glob("$binpath/dh_*");
plan(tests => (@progs + @progs));