add test for multiple passwords

This commit is contained in:
clowwindy 2014-05-17 16:22:47 +08:00
parent 1ee4520a40
commit cef0063bbc
2 changed files with 23 additions and 0 deletions

View File

@ -10,3 +10,4 @@ script:
- python test.py -c test/table.json
- python test.py -c test/aes.json
- python test.py -c test/salsa20.json
- python test.py -c test/server-multi-passwd.json

View File

@ -0,0 +1,22 @@
{
"server": "127.0.0.1",
"server_port": 8384,
"local_port": 1080,
"password": "foobar4",
"port_password": {
"8381": "foobar1",
"8382": "foobar2",
"8383": "foobar3",
"8384": "foobar4",
"8385": "foobar5",
"8386": "foobar6",
"8387": "foobar7",
"8388": "foobar8",
"8389": "foobar9",
"8390": "foobar10",
"8391": "foobar11",
"8392": "foobar12"
},
"timeout": 60,
"method": "aes-256-cfb"
}