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
67cacec6
Commit
67cacec6
authored
Jun 03, 2020
by
Alexandre
Browse files
Fix missing option + tests
parent
af917ad2
Changes
2
Hide whitespace changes
Inline
Side-by-side
homer.py
View file @
67cacec6
...
...
@@ -914,8 +914,9 @@ if not monitoring:
message
=
None
try
:
optlist
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
"hvPkeV:r:f:d:t46"
,
[
"help"
,
"verbose"
,
"debug"
,
"dot"
,
"head"
,
"insecure"
,
"POST"
,
"vhost="
,
"multistreams"
,
[
"help"
,
"verbose"
,
"debug"
,
"dot"
,
"head"
,
"HEAD"
,
"post"
,
"POST"
,
"insecure"
,
"vhost="
,
"multistreams"
,
"sync"
,
"no-display-results"
,
"time"
,
"dnssec"
,
"noedns"
,
"ecs"
,
"repeat="
,
"file="
,
"delay="
,
"key="
,
"nosni"
,
...
...
tests.yaml
View file @
67cacec6
...
...
@@ -18,14 +18,14 @@ tests:
args
:
-
'
-h'
retcode
:
0
partstderr
:
'
url-or-servername
domain-name
[DNS
type]'
partstderr
:
'
url-or-servername
[
domain-name
[DNS
type]
]
'
stdout
:
'
'
-
exe
:
'
./homer.py'
args
:
-
'
--zzz'
retcode
:
1
partstderr
:
'
url-or-servername
domain-name
[DNS
type]'
partstderr
:
'
url-or-servername
[
domain-name
[DNS
type]
]
'
stdout
:
'
'
-
exe
:
'
./homer.py'
...
...
@@ -131,7 +131,7 @@ tests:
-
'
check'
-
'
fail'
-
'
slow'
timeout
:
1
0
timeout
:
1
2
args
:
-
'
--check'
-
'
https://doh.42l.fr/dns-query'
...
...
@@ -944,7 +944,19 @@ tests:
stdout
:
'
'
-
exe
:
'
./homer.py'
name
:
'
[doh]
POST'
name
:
'
[doh]
POST
--post'
markers
:
-
'
doh'
args
:
-
'
--post'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
retcode
:
0
stderr
:
'
'
partstdout
:
'
2a01:4f8:'
-
exe
:
'
./homer.py'
name
:
'
[doh]
POST
--POST'
markers
:
-
'
doh'
args
:
...
...
@@ -956,7 +968,19 @@ tests:
partstdout
:
'
2a01:4f8:'
-
exe
:
'
./homer.py'
name
:
'
[doh]
HEAD'
name
:
'
[doh]
POST
-P'
markers
:
-
'
doh'
args
:
-
'
-P'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
retcode
:
0
stderr
:
'
'
partstdout
:
'
2a01:4f8:'
-
exe
:
'
./homer.py'
name
:
'
[doh]
HEAD
--head'
markers
:
-
'
doh'
args
:
...
...
@@ -967,6 +991,30 @@ tests:
stderr
:
'
'
partstdout
:
'
HEAD'
-
exe
:
'
./homer.py'
name
:
'
[doh]
HEAD
--HEAD'
markers
:
-
'
doh'
args
:
-
'
--HEAD'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
retcode
:
0
stderr
:
'
'
partstdout
:
'
HEAD'
-
exe
:
'
./homer.py'
name
:
'
[doh]
HEAD
-e'
markers
:
-
'
doh'
args
:
-
'
-e'
-
'
https://doh.bortzmeyer.fr'
-
'
framagit.org'
retcode
:
0
stderr
:
'
'
partstdout
:
'
HEAD'
-
exe
:
'
./homer.py'
name
:
'
[doh]
Multistreams
with
DoT
(error)'
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