X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/38da9088282b3a74ddcbfe8d60382b55a7e9f426..0cd6e20a16a80f3f4c868a5161fc630523381ae6:/test/scripts/4058-pipe-conn-tfo/4058?ds=inline 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