add ipv6 tests

This commit is contained in:
clowwindy 2014-11-08 02:28:37 +08:00
parent e476a54658
commit fa31a233b6
5 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,10 @@
{
"server":"::1",
"server_port":8388,
"local_port":1081,
"password":"aes_password",
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false
}

10
tests/ipv6.json Normal file
View file

@ -0,0 +1,10 @@
{
"server":"::",
"server_port":8388,
"local_port":1081,
"password":"aes_password",
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false
}

View file

@ -42,8 +42,8 @@ parser.add_argument('-b', '--server-args', type=str, default=None)
config = parser.parse_args()
client_args = [python, 'shadowsocks/local.py']
server_args = [python, 'shadowsocks/server.py']
client_args = [python, 'shadowsocks/local.py', '-v']
server_args = [python, 'shadowsocks/server.py', '-v']
if config.client_conf:
client_args.extend(['-c', config.client_conf])