Commit bf5940ad authored by Alexandre's avatar Alexandre

Add missing retcode

parent f6964790
......@@ -171,6 +171,7 @@ tests:
- '--check'
- 'https://dns.google/dns-query'
- 'framagit.org'
retcode: 0
stderr: ''
stdout: "OK\n"
......@@ -188,6 +189,7 @@ tests:
- 'nocrash'
- 'https://doh.42l.fr/dns-query'
- 'framagit.org'
retcode: 1
partstderr: 'Test truncated data: HTTP error 502'
stdout: "KO\n"
......@@ -201,6 +203,7 @@ tests:
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'www.afnic.fr'
retcode: 0
partstderr: "Connecting to hostname: 2001:41d0:302:2200::180"
- name: '[doh][check] Test that all the resolved IPs are tried, try another IP'
......@@ -213,6 +216,7 @@ tests:
- '--check'
- 'https://doh.bortzmeyer.fr'
- 'curl.haxx.se'
retcode: 0
partstderr: "Connecting to hostname: 193.70.85.11"
- name: '[dot][check] Test that all the resolved IPs are tried, try a first IP'
......@@ -226,6 +230,7 @@ tests:
- '--dot'
- 'dot.bortzmeyer.fr'
- 'www.afnic.fr'
retcode: 0
partstdout: "checking IP : 193.70.85.11\nConnecting to 193.70.85.11 ..."
- name: '[doh][check] Test that all the resolved IPs are tried, try another IP'
......@@ -239,6 +244,7 @@ tests:
- '--dot'
- 'dot.bortzmeyer.fr'
- 'www.afnic.fr'
retcode: 0
partstdout: "checking IP : 2001:41d0:302:2200::180\nConnecting to 2001:41d0:302:2200::180 ..."
- name: '[dot][check] Test all the IPs, force IPv4'
......@@ -254,6 +260,7 @@ tests:
- '--dot'
- 'dns.google'
- 'framagit.org'
retcode: 0
partstdout: "checking IP : 8.8.8.8\nConnecting to 8.8.8.8 ..."
- name: '[dot][check] Test all the IPs, force IPv4, check another IP'
......@@ -269,6 +276,7 @@ tests:
- '--dot'
- 'dns.google'
- 'framagit.org'
retcode: 0
partstdout: "checking IP : 8.8.4.4\nConnecting to 8.8.4.4 ..."
- name: '[dot][check] Test all the IPs, force IPv6'
......@@ -284,6 +292,7 @@ tests:
- '--dot'
- 'dns.google'
- 'framagit.org'
retcode: 0
partstdout: "checking IP : 2001:4860:4860::8844\nConnecting to 2001:4860:4860::8844 ..."
- name: '[dot][check] Test all the IPs, force IPv6, check another IP'
......@@ -299,6 +308,7 @@ tests:
- '--dot'
- 'dns.google'
- 'framagit.org'
retcode: 0
partstdout: "checking IP : 2001:4860:4860::8888\nConnecting to 2001:4860:4860::8888 ..."
- name: '[doh][check] Test all the IPs, force IPv4'
......@@ -313,6 +323,7 @@ tests:
- '--check'
- 'https://dns.google/dns-query'
- 'www.afnic.fr'
retcode: 0
partstderr: "Connecting to hostname: 8.8.8.8"
- name: '[doh][check] Test all the IPs, force IPv4, check another IP'
......@@ -327,6 +338,7 @@ tests:
- '--check'
- 'https://dns.google/dns-query'
- 'curl.haxx.se'
retcode: 0
partstderr: "Connecting to hostname: 8.8.4.4"
- name: '[doh][check] Test all the IPs, force IPv6'
......@@ -341,6 +353,7 @@ tests:
- '--check'
- 'https://dns.google/dns-query'
- 'www.afnic.fr'
retcode: 0
partstderr: "Connecting to hostname: 2001:4860:4860::8888"
- name: '[doh][check] Test all the IPs, force IPv6, check another IP'
......@@ -355,6 +368,7 @@ tests:
- '--check'
- 'https://dns.google/dns-query'
- 'curl.haxx.se'
retcode: 0
partstderr: "Connecting to hostname: 2001:4860:4860::8844"
- name: '[dot][check] Test all IPs on brok.sources.org'
......@@ -370,6 +384,7 @@ tests:
- '--dot'
- 'brok.sources.org'
- 'in'
retcode: 1
partstderr: 'Could not connect to'
- name: '[dot][check] Test all IPs on brok.sources.org, get a KO'
......@@ -385,6 +400,7 @@ tests:
- '--dot'
- 'brok.sources.org'
- 'in'
retcode: 1
partstdout: "KO\n"
......
Markdown is supported
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