mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 10:44:43 +08:00
skip tests if an upstream HTTP proxy is set
shadowsocks-libev doesn't support connecting through an upstream HTTP proxy, so if the test environment requires that then there's nothing we can do. (In future it might be possible to set up a local server to avoid this problem.)
This commit is contained in:
1 parent
44c557c170
commit
4a4531d866
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user