Commit f8627e0
committed
test: add parsing test case for hvsock
Unfortunately this currently fails because url.Parse is more strict
than it used to be:
```
2022/05/22 15:39:42 Failed to parse
hvsock://00000000-0000-0000-0000-000000000000:00001010-FACB-11E6-BD58-64006A7986D3:
parse
"hvsock://00000000-0000-0000-0000-000000000000:00001010-FACB-11E6-BD58-64006A7986D3":
invalid port ":00001010-FACB-11E6-BD58-64006A7986D3" after host
exit status 1
FAIL github.com/linuxkit/virtsock/cmd/sock_stress 0.236s
```
Signed-off-by: David Scott <dave@recoil.org>1 parent e63252b commit f8627e0
46 files changed
Lines changed: 19170 additions & 0 deletions
File tree
- cmd/sock_stress
- vendor
- github.com
- davecgh/go-spew
- spew
- pmezard/go-difflib
- difflib
- stretchr/testify
- assert
- gopkg.in/yaml.v3
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments