Tests/RunCMake/file-DOWNLOAD: Clarify name of invalid TLS_VERSION case

The test case is about an invalid version specification,
not a TLS version unsupported by the server.
This commit is contained in:
Brad King
2024-09-24 11:06:24 -04:00
parent ea3405ff60
commit c864ffceb7
4 changed files with 4 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ run_cmake(httpheader-not-set)
run_cmake(netrc-bad)
run_cmake(tls-cainfo-not-set)
run_cmake(tls-verify-not-set)
run_cmake(TLS_VERSION-invalid)
run_cmake(TLS_VERSION-missing)
run_cmake(pass-not-set)
run_cmake(no-save-hash)
@@ -26,7 +27,6 @@ if(NOT CMake_TEST_NO_NETWORK)
run_cmake(bad-hostname)
endif()
run_cmake_with_options(TLS_VERSION-bad)
if(CMake_TEST_TLS_VERIFY_URL_BAD)
run_cmake_with_options(TLS_VERIFY-bad -Durl=${CMake_TEST_TLS_VERIFY_URL_BAD})
endif()

View File

@@ -1,14 +1,14 @@
^CMake Error at TLS_VERSION-bad\.cmake:[0-9]+ \(file\):
^CMake Error at TLS_VERSION-invalid\.cmake:[0-9]+ \(file\):
file DOWNLOAD given unknown TLS/SSL version bad-env
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
+
CMake Error at TLS_VERSION-bad\.cmake:[0-9]+ \(file\):
CMake Error at TLS_VERSION-invalid\.cmake:[0-9]+ \(file\):
file DOWNLOAD given unknown TLS/SSL version bad-var
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
+
CMake Error at TLS_VERSION-bad\.cmake:[0-9]+ \(file\):
CMake Error at TLS_VERSION-invalid\.cmake:[0-9]+ \(file\):
file DOWNLOAD given unknown TLS/SSL version bad-arg
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)$