From d9b9516ed6a372b1270011c2177681a9713c9d31 Mon Sep 17 00:00:00 2001 From: Mikhail Osipov Date: Wed, 22 Sep 2021 02:51:33 +0300 Subject: auth: via file --- pkg/test/hook_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/test/hook_test.go') diff --git a/pkg/test/hook_test.go b/pkg/test/hook_test.go index 7808883..8e4fa4d 100644 --- a/pkg/test/hook_test.go +++ b/pkg/test/hook_test.go @@ -13,7 +13,7 @@ func TestUpperHook(t *testing.T) { c := e.newInstance() - c.Exec("add name T listen,addr=-:0 upper loop") + c.Exec("add name T listen,addr=%%0 upper loop") conn := e.Dial("tcp", c.Get("tunnel.T.listen")) @@ -33,7 +33,7 @@ func TestHexHook(t *testing.T) { c := e.newInstance() - c.Exec("add name T listen,addr=-:0 hex dial,addr=@[addr]") + c.Exec("add name T listen,addr=%%0 hex dial,addr=@[addr]") listen := e.Listen("tcp", "127.0.0.1:0") c.Set("addr", listen.Addr()) -- cgit v1.2.3-70-g09d2