summaryrefslogtreecommitdiff
path: root/test/scripts/4058-pipe-conn-tfo/4058
diff options
context:
space:
mode:
Diffstat (limited to 'test/scripts/4058-pipe-conn-tfo/4058')
-rw-r--r--test/scripts/4058-pipe-conn-tfo/40584
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scripts/4058-pipe-conn-tfo/4058 b/test/scripts/4058-pipe-conn-tfo/4058
index f31ef8d1c..5f0257810 100644
--- 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");
-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");
-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