git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix ${readsocket } eol-replacement. Bug 2630
[exim.git]
/
test
/
scripts
/
4058-pipe-conn-tfo
/
4058
diff --git
a/test/scripts/4058-pipe-conn-tfo/4058
b/test/scripts/4058-pipe-conn-tfo/4058
index f31ef8d1c4a900c73c619c5208d08a5f28bdd965..5f0257810c288a99d3e9b6da4970a3aa351c07c6 100644
(file)
--- a/
test/scripts/4058-pipe-conn-tfo/4058
+++ b/
test/scripts/4058-pipe-conn-tfo/4058
@@
-7,7
+7,7
@@
sudo perl
system ("tc qdisc add dev lo root netem delay 50ms");
system ("ip tcp_metrics delete 127.0.0.1");
sudo perl
system ("tc qdisc add dev lo root netem delay 50ms");
system ("ip tcp_metrics delete 127.0.0.1");
-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");
****
#
#
****
#
#
@@
-72,7
+72,7
@@
killdaemon
#
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");
****
#
no_msglog_check
****
#
no_msglog_check