perl tcp proxy tests

This commit is contained in:
Brad Rydzewski 2015-02-06 23:29:50 -08:00
parent 26fd14a8cc
commit 90d9c7d301

View file

@ -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