We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1b084b commit 9b3944cCopy full SHA for 9b3944c
tests/test_large_file.sh
@@ -9,7 +9,7 @@ URL=http://127.0.0.1/file
9
10
mkdir -p tmp
11
12
-type tc > /dev/null && (
+type tc 2> /dev/null && (
13
tc qdisc add dev $DEV root handle 1: prio
14
tc qdisc add dev $DEV parent 1:3 handle 30: netem delay $DELAY
15
tc filter add dev $DEV parent 1:0 protocol ip u32 match ip dport $PORT 0xffff flowid 1:3
@@ -25,13 +25,13 @@ SERVER=$!
25
26
sleep 3
27
28
-curl -o tmp/expected $URL
29
-curl -o tmp/result --socks5-hostname 127.0.0.1:1081 $URL
+time curl -o tmp/expected $URL
+time curl -o tmp/result --socks5-hostname 127.0.0.1:1081 $URL
30
31
kill $LOCAL
32
kill $SERVER
33
34
-type tc > /dev/null && tc qdisc del dev lo root
+type tc 2> /dev/null && tc qdisc del dev lo root
35
36
sleep 2
37
0 commit comments