diff options
author | Guillem Jover <guillem@debian.org> | 2017-10-29 18:40:54 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-01-16 10:55:30 +0100 |
commit | 33c866433dd4b186aae970e05c639b52ad5e7ece (patch) | |
tree | f079cecea2567db83fdd23d3ed5df1fe15a7ef16 /scripts/t/Dpkg_Changelog.t | |
parent | d6ba39af48a8c8eadc1b1542fcd6db0edf2dbe7f (diff) | |
download | dpkg-33c866433dd4b186aae970e05c639b52ad5e7ece.tar.gz |
test: Infer automatically the unit test data directory
We can easily know the name of the calling unit test, and can thus infer
the pathname for the data directory, instead of having to duplicate the
name, and potentially ending with it being out of sync.
Diffstat (limited to 'scripts/t/Dpkg_Changelog.t')
-rw-r--r-- | scripts/t/Dpkg_Changelog.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/t/Dpkg_Changelog.t b/scripts/t/Dpkg_Changelog.t index 1ca238acd..ed9f8a965 100644 --- a/scripts/t/Dpkg_Changelog.t +++ b/scripts/t/Dpkg_Changelog.t @@ -29,7 +29,7 @@ BEGIN { use_ok('Dpkg::Vendor', qw(get_current_vendor)); }; -my $datadir = test_get_data_path('t/Dpkg_Changelog'); +my $datadir = test_get_data_path(); my $vendor = get_current_vendor(); |