git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release process: put the sizes, checksums in distinct files
[users/jgh/exim.git]
/
test
/
scripts
/
1990-TCP-Fast-Open
/
1990
diff --git
a/test/scripts/1990-TCP-Fast-Open/1990
b/test/scripts/1990-TCP-Fast-Open/1990
index 953098f31d3e9048022f825bd0580df830380970..1fc4682aa7a21a989513dac3ded50d446315f946 100644
(file)
--- a/
test/scripts/1990-TCP-Fast-Open/1990
+++ b/
test/scripts/1990-TCP-Fast-Open/1990
@@
-32,7
+32,7
@@
system ("tc qdisc add dev lo root netem delay 50ms");
# option on the SYN.
#
sudo perl
# option on the SYN.
#
sudo perl
-system ("echo 0 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
+system ("
[ -e /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec ] &&
echo 0 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
****
#
# First time runs will see a TFO request option only; subsequent
****
#
# First time runs will see a TFO request option only; subsequent
@@
-75,7
+75,7
@@
sleep 3
#
sudo perl
system ("tc qdisc delete dev lo root");
#
sudo perl
system ("tc qdisc delete dev lo root");
-system ("echo 3600 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
+system ("
[ -e /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec ] &&
echo 3600 > /proc/sys/net/ipv4/tcp_fastopen_blackhole_timeout_sec");
****
#
killdaemon
****
#
killdaemon