perl tcp proxy tests
This commit is contained in:
parent
26fd14a8cc
commit
90d9c7d301
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ func TestProxy(t *testing.T) {
|
||||||
[ -x /tmp/socat ] && /tmp/socat TCP-LISTEN:8080,fork TCP:172.1.4.5:8080 &
|
[ -x /tmp/socat ] && /tmp/socat TCP-LISTEN:8080,fork TCP:172.1.4.5:8080 &
|
||||||
`
|
`
|
||||||
if string(b) != expected {
|
if string(b) != expected {
|
||||||
t.Errorf("AInvalid proxy \n%s", string(b))
|
t.Errorf("Invalid proxy \n%s", string(b))
|
||||||
}
|
}
|
||||||
|
|
||||||
// test creating a proxy script when there
|
// test creating a proxy script when there
|
||||||
|
|
Loading…
Reference in a new issue