test1538 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <testcase>
  2. <info>
  3. <keywords>
  4. strerror
  5. verbose logs
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. none
  16. </server>
  17. <tool>
  18. lib1538
  19. </tool>
  20. <name>
  21. libcurl strerror API call tests
  22. </name>
  23. <command>
  24. nothing
  25. </command>
  26. </client>
  27. #
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. <stdout>
  31. e0: No error
  32. e1: Unsupported protocol
  33. e2: Failed initialization
  34. e3: URL using bad/illegal format or missing URL
  35. e4: A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
  36. e5: Couldn't resolve proxy name
  37. e6: Couldn't resolve host name
  38. e7: Couldn't connect to server
  39. e8: Weird server reply
  40. e9: Access denied to remote resource
  41. e10: FTP: The server failed to connect to data port
  42. e11: FTP: unknown PASS reply
  43. e12: FTP: Accepting server connect has timed out
  44. e13: FTP: unknown PASV reply
  45. e14: FTP: unknown 227 response format
  46. e15: FTP: can't figure out the host in the PASV response
  47. e16: Error in the HTTP2 framing layer
  48. e17: FTP: couldn't set file type
  49. e18: Transferred a partial file
  50. e19: FTP: couldn't retrieve (RETR failed) the specified file
  51. e20: Unknown error
  52. e21: Quote command returned error
  53. e22: HTTP response code said error
  54. e23: Failed writing received data to disk/application
  55. e24: Unknown error
  56. e25: Upload failed (at start/before it took off)
  57. e26: Failed to open/read local data from file/application
  58. e27: Out of memory
  59. e28: Timeout was reached
  60. e29: Unknown error
  61. e30: FTP: command PORT failed
  62. e31: FTP: command REST failed
  63. e32: Unknown error
  64. e33: Requested range was not delivered by the server
  65. e34: Internal problem setting up the POST
  66. e35: SSL connect error
  67. e36: Couldn't resume download
  68. e37: Couldn't read a file:// file
  69. e38: LDAP: cannot bind
  70. e39: LDAP: search failed
  71. e40: Unknown error
  72. e41: A required function in the library was not found
  73. e42: Operation was aborted by an application callback
  74. e43: A libcurl function was given a bad argument
  75. e44: Unknown error
  76. e45: Failed binding local connection end
  77. e46: Unknown error
  78. e47: Number of redirects hit maximum amount
  79. e48: An unknown option was passed in to libcurl
  80. e49: Malformed telnet option
  81. e50: Unknown error
  82. e51: SSL peer certificate or SSH remote key was not OK
  83. e52: Server returned nothing (no headers, no data)
  84. e53: SSL crypto engine not found
  85. e54: Can not set SSL crypto engine as default
  86. e55: Failed sending data to the peer
  87. e56: Failure when receiving data from the peer
  88. e57: Unknown error
  89. e58: Problem with the local SSL certificate
  90. e59: Couldn't use specified SSL cipher
  91. e60: Peer certificate cannot be authenticated with given CA certificates
  92. e61: Unrecognized or bad HTTP Content or Transfer-Encoding
  93. e62: Invalid LDAP URL
  94. e63: Maximum file size exceeded
  95. e64: Requested SSL level failed
  96. e65: Send failed since rewinding of the data stream failed
  97. e66: Failed to initialise SSL crypto engine
  98. e67: Login denied
  99. e68: TFTP: File Not Found
  100. e69: TFTP: Access Violation
  101. e70: Disk full or allocation exceeded
  102. e71: TFTP: Illegal operation
  103. e72: TFTP: Unknown transfer ID
  104. e73: Remote file already exists
  105. e74: TFTP: No such user
  106. e75: Conversion failed
  107. e76: Caller must register CURLOPT_CONV_ callback options
  108. e77: Problem with the SSL CA cert (path? access rights?)
  109. e78: Remote file not found
  110. e79: Error in the SSH layer
  111. e80: Failed to shut down the SSL connection
  112. e81: Socket not ready for send/recv
  113. e82: Failed to load CRL file (path? access rights?, format?)
  114. e83: Issuer check against peer certificate failed
  115. e84: FTP: The server did not accept the PRET command.
  116. e85: RTSP CSeq mismatch or invalid CSeq
  117. e86: RTSP session error
  118. e87: Unable to parse FTP file list
  119. e88: Chunk callback failed
  120. e89: The max connection limit is reached
  121. e90: SSL public key does not match pinned public key
  122. e91: SSL server certificate status verification FAILED
  123. e92: Stream error in the HTTP/2 framing layer
  124. e93: API function called from within callback
  125. e94: Unknown error
  126. m-1: Please call curl_multi_perform() soon
  127. m0: No error
  128. m1: Invalid multi handle
  129. m2: Invalid easy handle
  130. m3: Out of memory
  131. m4: Internal error
  132. m5: Invalid socket argument
  133. m6: Unknown option
  134. m7: The easy handle is already added to a multi handle
  135. m8: API function called from within callback
  136. m9: Unknown error
  137. s0: No error
  138. s1: Unknown share option
  139. s2: Share currently in use
  140. s3: Invalid share handle
  141. s4: Out of memory
  142. s5: Feature not enabled in this library
  143. s6: CURLSHcode unknown
  144. </stdout>
  145. </verify>
  146. </testcase>