]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-resolved-etc-hosts: add tests for /etc/hosts parsing
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 31 Jul 2018 09:01:21 +0000 (11:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Aug 2018 10:38:39 +0000 (12:38 +0200)
commit78fc21a11a5ac7e090b309ed89b264dddba3a122
treef463cb8c757dbc1814ce0f9b63ca6b4d50506019
parent37b7cc8d9a111c40767e2124fbdc368cc8da5c1c
test-resolved-etc-hosts: add tests for /etc/hosts parsing

Calling 'build/test-resolved-etc-hosts filename' parses just that file.
This is useful to test against https://hosts.ubuntu101.co.za/hosts.
src/resolve/meson.build
src/resolve/resolved-etc-hosts.c
src/resolve/resolved-etc-hosts.h
src/resolve/test-resolved-etc-hosts.c [new file with mode: 0644]