Tests: Fix CTestTestFailedSubmit-ftp with OS X system libcurl
On OS X 10.9 the system libcurl has a different error message when failing to connect: Failed connect to :21; Connection refused Match this message to pass the test.
This commit is contained in:
parent
bc0e9806d7
commit
63d864a026
|
@ -2440,6 +2440,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
||||||
set(regex "${regex}|Error message was: ")
|
set(regex "${regex}|Error message was: ")
|
||||||
set(regex "${regex}([Cc]ould *n.t resolve host")
|
set(regex "${regex}([Cc]ould *n.t resolve host")
|
||||||
set(regex "${regex}|[Cc]ould *n.t connect to host")
|
set(regex "${regex}|[Cc]ould *n.t connect to host")
|
||||||
|
set(regex "${regex}|Failed connect to")
|
||||||
set(regex "${regex}|Empty reply from server")
|
set(regex "${regex}|Empty reply from server")
|
||||||
set(regex "${regex}|The requested URL returned error")
|
set(regex "${regex}|The requested URL returned error")
|
||||||
set(regex "${regex}|libcurl was built with SSL disabled. https: not supported)")
|
set(regex "${regex}|libcurl was built with SSL disabled. https: not supported)")
|
||||||
|
|
Loading…
Reference in New Issue