X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fscripts%2Fsocket_test.sh;h=b94a2f344b796b3c8683d05148daad2a28477ecc;hb=62fc78761c2a1e023f9483a54776cc66332ecacc;hp=5ebca4df88b84207d05ada57111f2a3b7edaec8d;hpb=6ccff02def39f314765f82a39f5dea9a667e47c8;p=vpp.git diff --git a/test/scripts/socket_test.sh b/test/scripts/socket_test.sh index 5ebca4df88b..b94a2f344b7 100755 --- a/test/scripts/socket_test.sh +++ b/test/scripts/socket_test.sh @@ -85,6 +85,7 @@ OPTIONS: OPTIONS passed to client/server: -6 Use IPv6. -D Use UDP as the transport. + -L Use TLS as the transport. -S Server IP address. -P Server Port number. -E Run Echo test. @@ -119,9 +120,8 @@ declare -i leave_tmp_files=0 declare -i bash_after_exit=0 declare -i iperf3=0 declare -i use_ipv6=0 -declare -i transport_udp=0 -while getopts ":hitlbcd6fn:m:e:g:p:E:I:N:P:R:S:T:UBVXD" opt; do +while getopts ":hitlbcd6fn:m:e:g:p:E:I:N:P:R:S:T:UBVXDL" opt; do case $opt in h) usage ;; l) leave_tmp_files=1 @@ -210,7 +210,7 @@ while getopts ":hitlbcd6fn:m:e:g:p:E:I:N:P:R:S:T:UBVXD" opt; do ;; P) sock_srvr_port="$OPTARG" ;; - D) sock_clnt_options="$sock_clnt_options -$opt" + D|L) sock_clnt_options="$sock_clnt_options -$opt" sock_srvr_options="$sock_srvr_options -$opt" ;; E|I|N|R|T) sock_clnt_options="$sock_clnt_options -$opt \"$OPTARG\""