diff --git a/xCAT-test/autotest/testcase/install_xCAT/case0 b/xCAT-test/autotest/testcase/install_xCAT/case0 index e41499802..f473b099b 100644 --- a/xCAT-test/autotest/testcase/install_xCAT/case0 +++ b/xCAT-test/autotest/testcase/install_xCAT/case0 @@ -30,6 +30,10 @@ cmd:diff /tmp/known_host_keys /tmp/current_os_host_keys check:output!~> cmd:rm -f /tmp/known_host_keys /tmp/current_os_host_keys check:rc==0 + +# Obtain the highest version of TLS supported by OpenSSL/TLS. +cmd:openssl s_client --help 2>&1 | grep "\-tls1" | awk '{print $1}' | sort | tail -1 +check:rc==0 end start:install_xCAT_on_ubuntu @@ -76,4 +80,8 @@ cmd:diff /tmp/known_host_keys /tmp/current_os_host_keys check:output!~> cmd:rm -f /tmp/known_host_keys /tmp/current_os_host_keys check:rc==0 + +# Obtain the highest version of TLS supported by OpenSSL/TLS. +cmd:openssl s_client --help 2>&1 | grep "\-tls1" | awk '{print $1}' | sort | tail -1 +check:rc==0 end