summaryrefslogtreecommitdiff
path: root/scripts/t/Dpkg_Conf.t
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/t/Dpkg_Conf.t')
-rw-r--r--scripts/t/Dpkg_Conf.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/t/Dpkg_Conf.t b/scripts/t/Dpkg_Conf.t
index c6f051069..2e55e3d59 100644
--- a/scripts/t/Dpkg_Conf.t
+++ b/scripts/t/Dpkg_Conf.t
@@ -17,13 +17,13 @@ use strict;
use warnings;
use Test::More tests => 9;
+use Test::Dpkg qw(:paths);
BEGIN {
use_ok('Dpkg::Conf');
}
-my $srcdir = $ENV{srcdir} // '.';
-my $datadir = $srcdir . '/t/Dpkg_Conf';
+my $datadir = test_get_data_path('t/Dpkg_Conf');
my ($conf, $count, @opts);