mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-17 16:26:44 +00:00
perl tcp proxy tests
This commit is contained in:
parent
26fd14a8cc
commit
90d9c7d301
@ -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 New Issue
Block a user