Skip to content

Commit

Permalink
Refine comments in tcp_max_syn_backlog
Browse files Browse the repository at this point in the history
Signed-off-by: nsednev <[email protected]>
  • Loading branch information
nsednev authored and dougsland committed Aug 28, 2024
1 parent 282f04d commit 32bb6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ffi/tcp_max_syn_backlog/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ execute_on_host() {
# HOST_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE: The sysctl value exists on the host
compare_values() {
if [ "$QM_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE" == 0 ] || [ "$HOST_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE" == 0 ] || [ "$HOST_DEFAULT_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE" == 0 ]; then
echo -e "\e[1;31mFAIL:\e[0m One or multiple tcp_max_syn_backlog values are 0. Ensure the sysctl command executed correctly."
echo "FAIL: One or multiple tcp_max_syn_backlog values are 0. Ensure the sysctl command executed correctly."
exit 1
elif [ "$HOST_DEFAULT_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE" -eq "$HOST_NET_IPV4_TCP_MAX_SYN_BACKLOG_VALUE" ]; then
echo "PASS: tcp_max_syn_backlog wasn't changed."
else
echo -e "\e[1;31mFAIL:\e[0m tcp_max_syn_backlog value have been changed."
echo "FAIL: tcp_max_syn_backlog value have been changed."
exit 1
fi
}
Expand Down

0 comments on commit 32bb6d3

Please sign in to comment.