Commit 6b6cff5d authored by Alexandre's avatar Alexandre
Browse files

Add tests checking all IPs are really looped on

parent 2f76d077
......@@ -58,8 +58,8 @@ tests:
- exe: './homer.py'
name: '--check of a correct DoH'
markers:
- 'doh'
- 'check'
- 'doh'
- 'check'
args:
- '--check'
- 'https://doh.bortzmeyer.fr/'
......@@ -71,8 +71,8 @@ tests:
- exe: './homer.py'
name: '--check of a broken DoH'
markers:
- 'doh'
- 'check'
- 'doh'
- 'check'
args:
- '--check'
- 'https://www.bortzmeyer.org/'
......@@ -84,8 +84,8 @@ tests:
- exe: './homer.py'
name: '--check of a DoH with HEAD unimplemented'
markers:
- 'doh'
- 'check'
- 'doh'
- 'check'
args:
- '--check'
- '--mandatory-level'
......@@ -99,8 +99,8 @@ tests:
- exe: './homer.py'
name: '--check of a correct DoT'
markers:
- 'dot'
- 'check'
- 'dot'
- 'check'
args:
- '--check'
- '--dot'
......@@ -111,63 +111,170 @@ tests:
stdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoH with loop on all IPs'
name: '[doh][--check] Test that all the resolved IPs are tried, try a first IP'
markers:
- 'doh'
- 'check'
- 'doh'
- 'check'
args:
- '-v'
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
- 'www.afnic.fr'
partstderr: "Connecting to hostname: 2001:41d0:302:2200::180"
partstdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoH with loop on all IPs'
name: '[doh][--check] Test that all the resolved IPs are tried, try another IP'
markers:
- 'doh'
- 'check'
- 'doh'
- 'check'
args:
- '-v'
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
- 'curl.haxx.se'
partstderr: "Connecting to hostname: 193.70.85.11"
partstdout: "OK\n"
- exe: './homer.py'
name: '--check of a correct DoT with loop on all IPs'
name: '[dot][--check] Test that all the resolved IPs are tried, try a first IP'
markers:
- 'dot'
- 'check'
- 'dot'
- 'check'
args:
- '-v'
- '--check'
- '--dot'
- 'dot.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
stderr: ''
partstdout: "Checking \"dot.bortzmeyer.fr\" on 193.70.85.11 ...\nConnecting to ('193.70.85.11', 853) ..."
- 'www.afnic.fr'
partstdout: "on 193.70.85.11 ...\nConnecting to ('193.70.85.11', 853) ..."
- exe: './homer.py'
name: '--check of a correct DoT with loop on all IPs'
name: '[doh][--check] Test that all the resolved IPs are tried, try another IP'
markers:
- 'dot'
- 'check'
- 'dot'
- 'check'
args:
- '-v'
- '--check'
- '--dot'
- 'dot.bortzmeyer.fr'
- 'ressources-pedagogiques.org'
retcode: 0
stderr: ''
partstdout: "Checking \"dot.bortzmeyer.fr\" on 2001:41d0:302:2200::180 ...\nConnecting to ('2001:41d0:302:2200::180', 853, 0, 0) ..."
- 'www.afnic.fr'
partstdout: "on 2001:41d0:302:2200::180 ...\nConnecting to ('2001:41d0:302:2200::180', 853, 0, 0) ..."
- exe: './homer.py'
name: '[dot][--check] Test all the IPs, force IPv4'
markers:
- 'dot'
- 'check'
- 'forceIPv4'
args:
- '-v'
- '-4'
- '--check'
- '--dot'
- 'dns.google'
- 'framagit.org'
partstdout: "on 8.8.8.8 ...\nConnecting to ('8.8.8.8', 853) ..."
- exe: './homer.py'
name: '[dot][--check] Test all the IPs, force IPv4, check another IP'
markers:
- 'dot'
- 'check'
- 'forceIPv4'
args:
- '-v'
- '-4'
- '--check'
- '--dot'
- 'dns.google'
- 'framagit.org'
partstdout: "on 8.8.4.4 ...\nConnecting to ('8.8.4.4', 853) ..."
- exe: './homer.py'
name: '[dot][--check] Test all the IPs, force IPv6'
markers:
- 'dot'
- 'check'
- 'forceIPv6'
args:
- '-v'
- '-6'
- '--check'
- '--dot'
- 'dns.google'
- 'framagit.org'
partstdout: "on 2001:4860:4860::8844 ...\nConnecting to ('2001:4860:4860::8844', 853, 0, 0) ..."
- exe: './homer.py'
name: '[dot][--check] Test all the IPs, force IPv6, check another IP'
markers:
- 'dot'
- 'check'
- 'forceIPv6'
args:
- '-v'
- '-6'
- '--check'
- '--dot'
- 'dns.google'
- 'framagit.org'
partstdout: "on 2001:4860:4860::8888 ...\nConnecting to ('2001:4860:4860::8888', 853, 0, 0) ..."
- exe: './homer.py'
name: '[doh][--check] Test all the IPs, force IPv4'
markers:
- 'doh'
- 'check'
- 'forceIPv4'
args:
- '-v'
- '-4'
- '--check'
- 'https://dns.google/dns-query'
- 'www.afnic.fr'
partstderr: "Connecting to hostname: 8.8.8.8"
- exe: './homer.py'
name: '[doh][--check] Test all the IPs, force IPv4, check another IP'
markers:
- 'doh'
- 'check'
- 'forceIPv4'
args:
- '-v'
- '-4'
- '--check'
- 'https://dns.google/dns-query'
- 'curl.haxx.se'
partstderr: "Connecting to hostname: 8.8.4.4"
- exe: './homer.py'
name: '[doh][--check] Test all the IPs, force IPv6'
markers:
- 'doh'
- 'check'
- 'forceIPv6'
args:
- '-v'
- '-6'
- '--check'
- 'https://dns.google/dns-query'
- 'www.afnic.fr'
partstderr: "Connecting to hostname: 2001:4860:4860::8888"
- exe: './homer.py'
name: '[doh][--check] Test all the IPs, force IPv6, check another IP'
markers:
- 'doh'
- 'check'
- 'forceIPv6'
args:
- '-v'
- '-6'
- '--check'
- 'https://dns.google/dns-query'
- 'curl.haxx.se'
partstderr: "Connecting to hostname: 2001:4860:4860::8844"
###############################################################################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment