fix daemon and add fastopen tests
This commit is contained in:
@ -138,9 +138,7 @@ try:
|
||||
finally:
|
||||
for p in [p1, p2]:
|
||||
try:
|
||||
print('kill', file=sys.stderr)
|
||||
os.kill(p.pid, signal.SIGINT)
|
||||
print('waitpid', file=sys.stderr)
|
||||
os.waitpid(p.pid, 0)
|
||||
except OSError:
|
||||
pass
|
||||
|
@ -39,6 +39,5 @@ run_test 0 -c tests/aes.json -d restart --pid-file tmp/shadowsocks.pid --log-fil
|
||||
run_test 0 -c tests/aes.json -d stop --pid-file tmp/shadowsocks.pid --log-file tmp/shadowsocks.log
|
||||
|
||||
run_test 1 -c tests/aes.json -d start --pid-file tmp/not_exist/shadowsocks.pid --log-file tmp/shadowsocks.log
|
||||
run_test 1 -c tests/aes.json -d start --pid-file tmp/shadowsocks.pid --log-file tmp/not_exist/shadowsocks.log
|
||||
|
||||
done
|
||||
|
Reference in New Issue
Block a user