Commit 1dad19b
test: remove valid hostname check in test-dns.js
Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.
Fixes: #2468
PR-URL: #2785
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 5e93bc4 commit 1dad19bCopy full SHA for 1dad19b
File tree
Expand file treeCollapse file tree
2 files changed
+4
-11
lines changedOpen diff view settings
Filter options
- test
- internet
Expand file treeCollapse file tree
2 files changed
+4
-11
lines changedOpen diff view settings
Collapse file
-9Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
436 | 436 | |
437 | 437 | |
438 | 438 | |
439 | | - |
440 | | - |
441 | | - |
442 | | - |
443 | | - |
444 | | - |
445 | | - |
446 | | - |
447 | | - |
448 | 439 | |
449 | 440 | |
450 | 441 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
575 | 575 | |
576 | 576 | |
577 | 577 | |
578 | | - |
| 578 | + |
| 579 | + |
579 | 580 | |
580 | 581 | |
581 | 582 | |
| ||
604 | 605 | |
605 | 606 | |
606 | 607 | |
607 | | - |
| 608 | + |
| 609 | + |
608 | 610 | |
609 | 611 | |
610 | 612 | |
|
0 commit comments