Просмотр исходного кода

Tests: Extend ctest_submit host lookup failure matching (#15958)

Match this message:

    Could not resolve host: -no-site-; Name or service not known
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Orion Poplawski 10 лет назад
Родитель
Сommit
2859d9ef6b

+ 1 - 1
Tests/RunCMake/ctest_submit/CDashSubmitQuiet-stderr.txt

@@ -1,3 +1,3 @@
  *Error when uploading file: .*/Configure.xml
- *Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*)
+ *Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?.*|The requested URL returned error:.*)
  *Problems when submitting via HTTP

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

@@ -1,2 +1,2 @@
-Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*)
+Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?.*|The requested URL returned error:.*)
    Problems when submitting via FTP

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

@@ -1,2 +1,2 @@
-Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?|The requested URL returned error:.*)
+Error message was: ([Cc]ould *n.t resolve host:? '?-no-site-'?.*|The requested URL returned error:.*)
    Problems when submitting via HTTP

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

@@ -1,2 +1,2 @@
-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.*)
+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