summaryrefslogtreecommitdiff
path: root/scripts/t/Dpkg_Changelog_Ubuntu.t
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/t/Dpkg_Changelog_Ubuntu.t')
-rw-r--r--scripts/t/Dpkg_Changelog_Ubuntu.t8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/t/Dpkg_Changelog_Ubuntu.t b/scripts/t/Dpkg_Changelog_Ubuntu.t
index b2e3783b1..1cd622d70 100644
--- a/scripts/t/Dpkg_Changelog_Ubuntu.t
+++ b/scripts/t/Dpkg_Changelog_Ubuntu.t
@@ -16,6 +16,10 @@
use strict;
use warnings;
+use Test::Dpkg qw(:paths);
+
$ENV{DEB_VENDOR} = 'Ubuntu';
-my $srcdir = $ENV{srcdir} || '.';
-do "$srcdir/t/Dpkg_Changelog.t";
+
+my $datafile = test_get_data_path('t/Dpkg_Changelog.t');
+
+do "$datafile";