Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
5dcb7d06
Commit
5dcb7d06
authored
Apr 27, 2020
by
Alexandre
Browse files
[DoH] Write tests for --header option
parent
227f7bbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests.yaml
View file @
5dcb7d06
...
@@ -10,6 +10,7 @@ config:
...
@@ -10,6 +10,7 @@ config:
-
"
check:
test
related
to
the
compliance
option
--check"
-
"
check:
test
related
to
the
compliance
option
--check"
-
"
forceIPv4:
test
using
the
option
-4"
-
"
forceIPv4:
test
using
the
option
-4"
-
"
forceIPv6:
test
using
the
option
-6"
-
"
forceIPv6:
test
using
the
option
-6"
-
"
header:
test
using
--header
option"
-
"
fail:
mark
test
with
a
resolver
currently
failing
our
tests"
-
"
fail:
mark
test
with
a
resolver
currently
failing
our
tests"
-
"
slow:
test
that
need
time
to
run"
-
"
slow:
test
that
need
time
to
run"
...
@@ -354,6 +355,32 @@ tests:
...
@@ -354,6 +355,32 @@ tests:
partstderr
:
'
IPv4
*or*
IPv6'
partstderr
:
'
IPv4
*or*
IPv6'
stdout
:
'
'
stdout
:
'
'
-
exe
:
'
./homer.py'
name
:
'
[doh][header]
Command
line
option
--header
(accept)'
markers
:
-
'
doh'
-
'
header'
args
:
-
'
--debug'
-
'
--header'
-
'
Accept:
application/dns-json'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
partstderr
:
'
accept:
application/dns-json'
-
exe
:
'
./homer.py'
name
:
'
[doh][header]
Command
line
option
--header
(content-type)'
markers
:
-
'
doh'
-
'
header'
args
:
-
'
--debug'
-
'
--header'
-
'
Content-type:
text/html'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
partstderr
:
'
content-type:
text/html'
-
exe
:
'
./homer.py'
-
exe
:
'
./homer.py'
name
:
'
[dot]
Force
IPv4
and
IPv6'
name
:
'
[dot]
Force
IPv4
and
IPv6'
markers
:
markers
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment