summaryrefslogtreecommitdiff
path: root/test/test-resolve
Commit message (Collapse)AuthorAgeFilesLines
* resolved: Test for DnsStream (plain TCP DNS and DoT)Joan Bruguera2022-01-272-0/+84
| | | | | | | | | | Tests DnsStream event handling, both for plain TCP DNS and DNS over TLS. The DoT test requires the "openssl s_server" command line tool to mock a simple TLS server. Thus the test's TLS part is skipped if openssl it not available. The test works for both DNS_OVER_TLS_USE_GNUTLS and DNS_OVER_TLS_USE_OPENSSL. The DoT case fails due to a bug, which is fixed on the next commit.
* gitattributes: introduce and use "generated" attributeZbigniew Jędrzejewski-Szmek2021-10-181-1/+1
| | | | | | | | | | | | | | I want to mark some files to be ignored for licensing purposes, e.g. output from fuzzers and other samples. By using the gitattribute machinery for this we don't need to design a custom protocol: $ git check-attr generated test/test-sysusers/unhappy-* test/test-sysusers/unhappy-1.expected-err: generated: set test/test-sysusers/unhappy-1.input: generated: unspecified test/test-sysusers/unhappy-2.expected-err: generated: set test/test-sysusers/unhappy-2.input: generated: unspecified test/test-sysusers/unhappy-3.expected-err: generated: set test/test-sysusers/unhappy-3.input: generated: unspecified
* gitattributes: mark more files as "binary"Zbigniew Jędrzejewski-Szmek2021-10-181-0/+1
| | | | This way we know that we shouldn't look for a spdx header in them.
* test-resolve: add a bunch more packets for testingZbigniew Jędrzejewski-Szmek2020-04-176-0/+0
| | | | | | | | | Let's append the date to the domain in the file name, to be able to have multiple versions for the same domain. There is no particular rhyme or reason to the domains being used: I just pulled a few domains that happened to be present in issues reported on github, even though the issues were not about pretty printing.
* test: move resolved test data into test/Martin Pitt2017-02-1311-0/+0
Moe test-resolve's test data from src/resolve/test-data to test/test-resolve/ to be consistent with test/test-{execute,path}/. This will make it easier to make the tests relocatable.