Systemd/src/resolve
Zbigniew Jędrzejewski-Szmek 69e96427a2 meson: define tests
Tests can be run with 'ninja-build test' or using 'mesontest'.
'-Dtests=unsafe' can be used to include the "unsafe" tests in the
test suite, same as with autotools.

v2:
- use more conf.get guards are optional components
- declare deps on generated headers for test-{af,arphrd,cap}-list

v3:
- define environment for tests

  Most test don't need this, but to be consistent with autotools-based build, and
  to avoid questions which tests need it and which don't, set the same environment
  for all tests.

v4:
- rework test generation

  Use a list of lists to define each test. This way we can reduce the
  boilerplate somewhat, although the test listings are still pretty verbose. We
  can also move the definitions of the tests to the subdirs. Unfortunately some
  subdirs are included earlier than some of the libraries that test binaries
  are linked to.  So just dump all definitions of all tests that cannot be
  defined earlier into src/test. The `executable` definitions are still at the
  top level, so the binaries are compiled into the build root.

v5:
- tag test-dnssec-complex as manual

v6:
- fix HAVE_LIBZ typo
- add missing libgobject/libgio defs
- mark test-qcow2 as manual
2017-04-23 21:47:26 -04:00
..
.gitignore resolve: add more record types and convert to gperf table 2014-08-03 22:02:32 -04:00
dns-type.c build-sys: add check for gperf lookup function signature (#5055) 2017-01-10 08:39:05 +01:00
dns-type.h resolved: explicitly refuse zone transfers using the bus API 2016-06-21 13:20:48 +02:00
dns_type-to-name.awk meson: build systemd using meson 2017-04-23 21:47:26 -04:00
generate-dns_type-gperf.py meson: build systemd using meson 2017-04-23 21:47:26 -04:00
generate-dns_type-list.sed meson: build systemd using meson 2017-04-23 21:47:26 -04:00
Makefile resolved: add daemon to manage resolv.conf 2014-05-19 18:14:56 +02:00
meson.build meson: define tests 2017-04-23 21:47:26 -04:00
org.freedesktop.resolve1.conf resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
org.freedesktop.resolve1.service resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
resolv.conf resolved: respond to local resolver requests on 127.0.0.53:53 2016-06-21 14:15:23 +02:00
resolve-tool.c resolve: add missing space in output message (#5574) 2017-03-12 20:12:03 -04:00
resolved-bus.c resolved: add a DNSStubListener property to Manager 2017-03-31 11:33:58 -07:00
resolved-bus.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-conf.c tree-wide: fix wrong indent (#5757) 2017-04-19 08:48:29 +02:00
resolved-conf.h build-sys: add check for gperf lookup function signature (#5055) 2017-01-10 08:39:05 +01:00
resolved-def.h resolved: include inttypes.h in resolved-def.h given that we use UINT64_C 2016-02-10 14:32:27 +01:00
resolved-dns-answer.c Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
resolved-dns-answer.h resolved: implement sending goodbye mDNS packet 2017-01-19 11:51:21 +02:00
resolved-dns-cache.c Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
resolved-dns-cache.h resolved: when using the ResolveRecord() bus call, adjust TTL for caching time 2016-06-21 13:20:48 +02:00
resolved-dns-dnssec.c resolved: fix NSEC proofs for missing TLDs 2017-02-17 10:25:15 +01:00
resolved-dns-dnssec.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-packet.c resolved: implement sending goodbye mDNS packet 2017-01-19 11:51:21 +02:00
resolved-dns-packet.h resolved: add cache-flush bit to answers in mDNS announcements 2017-01-19 11:51:21 +02:00
resolved-dns-query.c resolved: extend various timeouts 2017-02-17 10:25:16 +01:00
resolved-dns-query.h resolved: when following a CNAME initialize authenticated bit by the weakest answer 2017-02-09 16:13:07 +01:00
resolved-dns-question.c Replace DNS_RESOURCE_KEY_NAME with a version which always returns "." for root 2016-02-16 19:55:51 -05:00
resolved-dns-question.h resolved: add dns_answer_is_empty() and dns_question_is_empty() helpers 2016-06-21 13:20:48 +02:00
resolved-dns-rr.c resolved: add cache-flush bit to answers in mDNS announcements 2017-01-19 11:51:21 +02:00
resolved-dns-rr.h resolved: respond to local resolver requests on 127.0.0.53:53 2016-06-21 14:15:23 +02:00
resolved-dns-scope.c resolved: size the mdns announce answer array properly 2017-02-14 11:13:48 +01:00
resolved-dns-scope.h resolved: let's propagate errors from dns_scope_announce() and elsewhere 2017-02-13 20:44:11 +01:00
resolved-dns-search-domain.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
resolved-dns-search-domain.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-server.c bus: include sd-{bus,messages}.h the same as other systemd headers 2017-04-21 12:05:55 -04:00
resolved-dns-server.h resolved: when the dns server feature level grace period elapses, flush caches 2017-02-17 10:25:15 +01:00
resolved-dns-stream.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
resolved-dns-stream.h resolved: directly include some required headers instead of inheriting 2016-08-31 15:33:21 -07:00
resolved-dns-stub.c resolved: propagate AD bit for NXDOMAIN into stub replies 2017-02-17 10:25:15 +01:00
resolved-dns-stub.h resolved: simplify error handling in manager_dns_stub_{udp,tcp}_fd() 2016-10-09 21:22:23 -04:00
resolved-dns-synthesize.c Replace DNS_RESOURCE_KEY_NAME with a version which always returns "." for root 2016-02-16 19:55:51 -05:00
resolved-dns-synthesize.h resolved: synthesize RRs for data from /etc/hosts 2016-01-25 17:19:19 +01:00
resolved-dns-transaction.c bus: include sd-{bus,messages}.h the same as other systemd headers 2017-04-21 12:05:55 -04:00
resolved-dns-transaction.h resolved: extend various timeouts 2017-02-17 10:25:16 +01:00
resolved-dns-trust-anchor.c bus: include sd-{bus,messages}.h the same as other systemd headers 2017-04-21 12:05:55 -04:00
resolved-dns-trust-anchor.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-dns-zone.c resolved: implement mDNS probing and announcement 2017-01-19 11:51:21 +02:00
resolved-dns-zone.h resolved: populate mDNS scopes' zones with RRs for the host 2017-01-19 11:51:21 +02:00
resolved-etc-hosts.c resolved: correctly handle non-address RR types with /etc/hosts lookups (#4808) 2016-12-22 07:58:02 +01:00
resolved-etc-hosts.h resolved: synthesize RRs for data from /etc/hosts 2016-01-25 17:19:19 +01:00
resolved-gperf.gperf resolved: add global config option to control mDNS stack 2017-03-21 13:35:08 +09:00
resolved-link-bus.c resolve: fix strv memleak 2017-01-24 22:27:21 -05:00
resolved-link-bus.h resolved: rename "SearchDomains" property in the Manager interface to "Domains" 2016-02-13 20:33:49 +01:00
resolved-link.c resolved: do not start LLMNR or mDNS stack when no network enables them 2017-03-21 13:14:04 +09:00
resolved-link.h resolved: count the number of addresses per link 2017-02-13 20:41:09 +01:00
resolved-llmnr.c resolved: detect and warn other running LLMNR stack 2017-03-21 13:35:12 +09:00
resolved-llmnr.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved-manager.c resolved: do not start LLMNR or mDNS stack when no network enables them 2017-03-21 13:14:04 +09:00
resolved-manager.h Merge pull request #4832 from rojkov/mdns 2017-02-12 15:38:51 -05:00
resolved-mdns.c resolved: detect and warn other running mDNS stack 2017-03-21 13:34:52 +09:00
resolved-mdns.h resolved: implement mDNS probing and announcement 2017-01-19 11:51:21 +02:00
resolved-resolv-conf.c tree-wide: add man: to manpage references (#5402) 2017-02-20 18:45:35 -05:00
resolved-resolv-conf.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
resolved.c treewide: fix typos (#4802) 2016-12-02 09:20:26 -05:00
resolved.conf.in resolved: add global config option to control mDNS stack 2017-03-21 13:35:08 +09:00
RFCs tree-wide: use mdash instead of a two minuses 2016-04-21 23:00:13 -04:00
test-dns-packet.c test: drop TEST_DATA_DIR, fold into get_testdata_dir() 2017-02-16 21:45:57 +01:00
test-dnssec-complex.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
test-dnssec.c test-dnssec: drop unused variable 2016-04-12 13:51:28 +02:00
test-resolve-tables.c test-resolve-tables: verify that dns type/class length is within limits 2016-02-16 19:55:51 -05:00