Skip to content

Commit cd07001

Browse files
author
clowwindy
committed
use SIGINT instead in large file test
1 parent 2cc7ee5 commit cd07001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_large_file.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ sleep 3
3535
time curl -o tmp/expected $URL
3636
time curl -o tmp/result --socks5-hostname 127.0.0.1:1081 $URL
3737

38-
kill $LOCAL
39-
kill $SERVER
38+
kill -s SIGINT $LOCAL
39+
kill -s SIGINT $SERVER
4040

4141
type tc 2> /dev/null && tc qdisc del dev lo root
4242

0 commit comments

Comments
 (0)