diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-14 01:03:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-14 01:03:40 -0500 |
commit | b0ac3401c8a67f3a8962b65f7978cda9aa3fca6a (patch) | |
tree | e93c189aedb2abcc85042548ee0317944ae1ef53 /src/resolve/test-dns-packet.c | |
parent | f34182f00e5517c22cba81a8886481e804f4cc78 (diff) | |
download | systemd-b0ac3401c8a67f3a8962b65f7978cda9aa3fca6a.tar.gz |
Revert "test: make unit tests relocatable and add an "install-tests" make target"revert-5298-relocatable-tests
Diffstat (limited to 'src/resolve/test-dns-packet.c')
-rw-r--r-- | src/resolve/test-dns-packet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resolve/test-dns-packet.c b/src/resolve/test-dns-packet.c index 3ca7e78495..956b155872 100644 --- a/src/resolve/test-dns-packet.c +++ b/src/resolve/test-dns-packet.c @@ -31,8 +31,6 @@ #include "strv.h" #include "unaligned.h" -#include "test-helper.h" - #define HASH_KEY SD_ID128_MAKE(d3,1e,48,90,4b,fa,4c,fe,af,9d,d5,a1,d7,2e,8a,b1) static void verify_rr_copy(DnsResourceRecord *rr) { @@ -117,7 +115,7 @@ int main(int argc, char **argv) { N = argc - 1; fnames = argv + 1; } else { - assert_se(glob(TEST_DATA_DIR("/test-resolve/*.pkts"), GLOB_NOSORT, NULL, &g) == 0); + assert_se(glob(RESOLVE_TEST_DIR "/*.pkts", GLOB_NOSORT, NULL, &g) == 0); N = g.gl_pathc; fnames = g.gl_pathv; } |