add server-multi-passwd-table test

This commit is contained in:
clowwindy 2014-06-05 19:33:45 +08:00
parent 8aae1f07ca
commit b50a89b1f5
7 changed files with 25 additions and 5 deletions

View file

@ -12,4 +12,5 @@ script:
- python test.py -c tests/aes.json
- python test.py -c tests/salsa20.json
- python test.py -c tests/server-multi-passwd.json
- python test.py -c tests/server-multi-passwd-table.json
- python test.py -c tests/workers.json

View file

@ -3,7 +3,7 @@
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false

View file

@ -3,7 +3,7 @@
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":true

View file

@ -3,7 +3,7 @@
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"timeout":60,
"method":"salsa20-ctr",
"local_address":"127.0.0.1",
"fast_open":false

View file

@ -0,0 +1,19 @@
{
"server": "127.0.0.1",
"server_port": 8384,
"local_port": 1081,
"password": "foobar4",
"port_password": {
"8381": "foobar1",
"8382": "foobar2",
"8383": "foobar3",
"8384": "foobar4",
"8385": "foobar5",
"8386": "foobar6",
"8387": "foobar7",
"8388": "foobar8",
"8389": "foobar9"
},
"timeout": 60,
"method": "table"
}

View file

@ -3,7 +3,7 @@
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"timeout":60,
"method":"table",
"local_address":"127.0.0.1",
"fast_open":false

View file

@ -3,7 +3,7 @@
"server_port":8388,
"local_port":1081,
"password":"barfoo!",
"timeout":300,
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"workers": 4