Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine comments in tcp_max_syn_backlog #520

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading