diff options
| author | Mikhail Osipov <mike.osipov@gmail.com> | 2021-09-22 02:51:33 +0300 |
|---|---|---|
| committer | Mikhail Osipov <mike.osipov@gmail.com> | 2021-09-22 12:45:07 +0300 |
| commit | d9b9516ed6a372b1270011c2177681a9713c9d31 (patch) | |
| tree | 79a3a0c37998d494d4a8a3983fb57af10252b228 /pkg/test/hook_test.go | |
| parent | 3c9f376276c4f59bfaf93195441cde402fb1d333 (diff) | |
auth: via file
Diffstat (limited to 'pkg/test/hook_test.go')
| -rw-r--r-- | pkg/test/hook_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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()) |
