Browse Source

move tests and remove config.json

auth
clowwindy 11 years ago
parent
commit
68b9a063c5
  1. 14
      .travis.yml
  2. 10
      config.json
  3. 2
      tests/test.py
  4. 0
      tests/test_latency.py

14
.travis.yml

@ -12,10 +12,10 @@ before_install:
- pip install m2crypto salsa20
- sudo tests/socksify/install.sh
script:
- python test.py -c tests/table.json
- python test.py -c tests/aes.json
- python test.py -c tests/salsa20.json
- python test.py -c tests/server-multi-ports.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
- python tests/test.py -c tests/table.json
- python tests/test.py -c tests/aes.json
- python tests/test.py -c tests/salsa20.json
- python tests/test.py -c tests/server-multi-ports.json
- python tests/test.py -c tests/server-multi-passwd.json
- python tests/test.py -c tests/server-multi-passwd-table.json
- python tests/test.py -c tests/workers.json

10
config.json

@ -1,10 +0,0 @@
{
"server":"0.0.0.0",
"server_port":8388,
"local_port":1080,
"password":"barfoo!",
"timeout":300,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"fast_open":false
}

2
test.py → tests/test.py

@ -8,6 +8,8 @@ import select
import time
from subprocess import Popen, PIPE
sys.path.insert(0, '../')
if 'salsa20' in sys.argv[-1]:
from shadowsocks import encrypt_salsa20
encrypt_salsa20.test()

0
test_latency.py → tests/test_latency.py

Loading…
Cancel
Save