test: Move test_data_file() to test.h
commit92945bf3d772d7cfe28052204dfe68f60a39e9c8
authorGuillem Jover <guillem@debian.org>
Sat, 26 Aug 2023 12:01:37 +0000 (26 14:01 +0200)
committerGuillem Jover <guillem@debian.org>
Wed, 30 Aug 2023 03:26:31 +0000 (30 05:26 +0200)
tree353b15df7482e895743fef74175d6cf02c477b02
parentb4e679bf0261cc50fe2d9e9d95c967017b4f4fbc
test: Move test_data_file() to test.h

This function is generally useful for tests so that they can use data
files.
lib/dpkg/t/t-meminfo.c
lib/dpkg/test.h