Browse Source

add server-multi-passwd-table test

auth
clowwindy 11 years ago
parent
commit
b50a89b1f5
  1. 1
      .travis.yml
  2. 2
      tests/aes.json
  3. 2
      tests/fastopen.json
  4. 2
      tests/salsa20.json
  5. 19
      tests/server-multi-passwd-table.json
  6. 2
      tests/table.json
  7. 2
      tests/workers.json

1
.travis.yml

@ -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

2
tests/aes.json

@ -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

2
tests/fastopen.json

@ -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

2
tests/salsa20.json

@ -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

19
tests/server-multi-passwd-table.json

@ -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"
}

2
tests/table.json

@ -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

2
tests/workers.json

@ -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

Loading…
Cancel
Save