Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
DNS testing tools
Remoh
Commits
45d32805
Commit
45d32805
authored
Mar 27, 2020
by
Alexandre
Browse files
Print output on stdout instead + new test
parent
50a0c81a
Changes
2
Hide whitespace changes
Inline
Side-by-side
homer.py
View file @
45d32805
...
...
@@ -333,7 +333,7 @@ class ConnectionDoT(Connection):
if
connect
is
None
:
error
(
f
'Could not connect to "
{
server
}
"'
)
else
:
error
(
f
'Could not connect to "
{
server
}
" on
{
connect
}
'
,
exit
=
False
)
print
(
f
'Could not connect to "
{
server
}
" on
{
connect
}
'
)
def
connect
(
self
,
addr
,
sock_family
):
...
...
tests.yaml
View file @
45d32805
...
...
@@ -288,7 +288,20 @@ tests:
-
'
--dot'
-
'
brok.sources.org'
-
'
in'
partstderr
:
'
Could
not
connect
to'
partstdout
:
'
Could
not
connect
to'
-
exe
:
'
./homer.py'
name
:
'
[dot][check]
Test
all
IPs
on
brok.sources.org,
get
a
KO'
timeout
:
6
markers
:
-
'
dot'
-
'
check'
args
:
-
'
-k'
-
'
--check'
-
'
--dot'
-
'
brok.sources.org'
-
'
in'
partstdout
:
"
KO
\n
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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