Browse Source

Merge pull request #2087 from rogers0/PR/fix_tests

Update config under tests/ folder
pull/2093/head
Max Lv 7 years ago
committed by GitHub
parent
commit
167b510053
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 8 deletions
  1. 2
      tests/aes-ctr.json
  2. 2
      tests/aes-gcm.json
  3. 2
      tests/aes.json
  4. 2
      tests/chacha20-ietf-poly1305.json
  5. 2
      tests/chacha20-ietf.json
  6. 2
      tests/chacha20.json
  7. 2
      tests/rc4-md5.json
  8. 2
      tests/salsa20.json
  9. 5
      tests/test.sh

2
tests/aes-ctr.json

@ -5,6 +5,6 @@
"password":"aes_password",
"timeout":60,
"method":"aes-256-ctr",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/aes-gcm.json

@ -5,6 +5,6 @@
"password":"aes_password",
"timeout":60,
"method":"aes-256-gcm",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/aes.json

@ -5,6 +5,6 @@
"password":"aes_password",
"timeout":60,
"method":"aes-256-cfb",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/chacha20-ietf-poly1305.json

@ -5,6 +5,6 @@
"password":"salsa20_password",
"timeout":60,
"method":"chacha20-ietf-poly1305",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/chacha20-ietf.json

@ -5,6 +5,6 @@
"password":"salsa20_password",
"timeout":60,
"method":"chacha20-ietf",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/chacha20.json

@ -5,6 +5,6 @@
"password":"chacha20_password",
"timeout":60,
"method":"chacha20",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/rc4-md5.json

@ -5,6 +5,6 @@
"password":"aes_password",
"timeout":60,
"method":"rc4-md5",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

2
tests/salsa20.json

@ -5,6 +5,6 @@
"password":"salsa20_password",
"timeout":60,
"method":"salsa20",
"local_address":"127.0.0.1",
"local":"127.0.0.1",
"fast_open":false
}

5
tests/test.sh

@ -27,6 +27,11 @@ function run_test {
[ -d src -a -x src/ss-local ] &&
BIN="--bin src/"
if [ "$http_proxy" ]; then
echo "SKIP: shadowsocks-libev does not support an upstream HTTP proxy"
exit 0
fi
run_test python tests/test.py $BIN -c tests/aes.json
run_test python tests/test.py $BIN -c tests/aes-gcm.json
run_test python tests/test.py $BIN -c tests/aes-ctr.json

Loading…
Cancel
Save