test1538 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. lib%TESTNUMBER
  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 option provided in a setopt
  81. e50: Unknown error
  82. e51: Unknown error
  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: SSL peer certificate or SSH remote key was not OK
  92. e61: Unrecognized or bad HTTP Content or Transfer-Encoding
  93. e62: Unknown error
  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: Unknown error
  107. e76: Unknown error
  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: An authentication function returned an error
  126. e95: HTTP/3 error
  127. e96: QUIC connection error
  128. e97: proxy handshake error
  129. e98: SSL Client Certificate required
  130. e99: Unrecoverable error in select/poll
  131. e100: Unknown error
  132. m-1: Please call curl_multi_perform() soon
  133. m0: No error
  134. m1: Invalid multi handle
  135. m2: Invalid easy handle
  136. m3: Out of memory
  137. m4: Internal error
  138. m5: Invalid socket argument
  139. m6: Unknown option
  140. m7: The easy handle is already added to a multi handle
  141. m8: API function called from within callback
  142. m9: Wakeup is unavailable or failed
  143. m10: A libcurl function was given a bad argument
  144. m11: Operation was aborted by an application callback
  145. m12: Unrecoverable error in select/poll
  146. m13: Unknown error
  147. s0: No error
  148. s1: Unknown share option
  149. s2: Share currently in use
  150. s3: Invalid share handle
  151. s4: Out of memory
  152. s5: Feature not enabled in this library
  153. s6: CURLSHcode unknown
  154. u0: No error
  155. u1: An invalid CURLU pointer was passed as argument
  156. u2: An invalid 'part' argument was passed as argument
  157. u3: Malformed input to a URL function
  158. u4: Port number was not a decimal number between 0 and 65535
  159. u5: Unsupported URL scheme
  160. u6: URL decode error, most likely because of rubbish in the input
  161. u7: A memory function failed
  162. u8: Credentials was passed in the URL when prohibited
  163. u9: An unknown part ID was passed to a URL API function
  164. u10: No scheme part in the URL
  165. u11: No user part in the URL
  166. u12: No password part in the URL
  167. u13: No options part in the URL
  168. u14: No host part in the URL
  169. u15: No port part in the URL
  170. u16: No query part in the URL
  171. u17: No fragment part in the URL
  172. u18: No zoneid part in the URL
  173. u19: Bad file:// URL
  174. u20: Bad fragment
  175. u21: Bad hostname
  176. u22: Bad IPv6 address
  177. u23: Bad login part
  178. u24: Bad password
  179. u25: Bad path
  180. u26: Bad query
  181. u27: Bad scheme
  182. u28: Unsupported number of slashes following scheme
  183. u29: Bad user
  184. u30: libcurl lacks IDN support
  185. u31: CURLUcode unknown
  186. </stdout>
  187. </verify>
  188. </testcase>