浏览代码

Tests: Match curl error in RunCMake.ctest_submit FailDrop-* cases

Port the regexes over from the CTestTestFailedSubmit tests for ftp,
http, and https.  No such match is needed for the other protocols.
Brad King 10 年之前
父节点
当前提交
b04c8ec3f8

+ 1 - 1
Tests/RunCMake/ctest_submit/FailDrop-ftp-stderr.txt

@@ -1,3 +1,3 @@
-Error message was: .*
+Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*)
    Problems when submitting via FTP
 Error in read script: .*/Tests/RunCMake/ctest_submit/FailDrop-ftp/test.cmake

+ 1 - 1
Tests/RunCMake/ctest_submit/FailDrop-http-stderr.txt

@@ -1,3 +1,3 @@
-Error message was: .*
+Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*)
    Problems when submitting via HTTP
 Error in read script: .*/Tests/RunCMake/ctest_submit/FailDrop-http/test.cmake

+ 1 - 1
Tests/RunCMake/ctest_submit/FailDrop-https-stderr.txt

@@ -1,3 +1,3 @@
-Error message was: .*
+Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*|Protocol "https" not supported or disabled in .*|.* was built with SSL disabled.*)
    Problems when submitting via HTTP
 Error in read script: .*/Tests/RunCMake/ctest_submit/FailDrop-https/test.cmake