xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | strerror |
| 5 | verbose logs |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # |
| 10 | # Server-side |
| 11 | <reply> |
| 12 | </reply> |
| 13 | |
| 14 | # Client-side |
| 15 | <client> |
| 16 | <server> |
| 17 | none |
| 18 | </server> |
| 19 | <tool> |
| 20 | lib%TESTNUMBER |
| 21 | </tool> |
| 22 | |
| 23 | <name> |
| 24 | libcurl strerror API call tests |
| 25 | </name> |
| 26 | <command> |
| 27 | nothing |
| 28 | </command> |
| 29 | </client> |
| 30 | |
| 31 | # |
| 32 | # Verify data after the test has been "shot" |
| 33 | <verify> |
| 34 | <stdout> |
| 35 | e0: No error |
| 36 | e1: Unsupported protocol |
| 37 | e2: Failed initialization |
| 38 | e3: URL using bad/illegal format or missing URL |
| 39 | e4: A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. |
| 40 | e5: Couldn't resolve proxy name |
| 41 | e6: Couldn't resolve host name |
| 42 | e7: Couldn't connect to server |
| 43 | e8: Weird server reply |
| 44 | e9: Access denied to remote resource |
| 45 | e10: FTP: The server failed to connect to data port |
| 46 | e11: FTP: unknown PASS reply |
| 47 | e12: FTP: Accepting server connect has timed out |
| 48 | e13: FTP: unknown PASV reply |
| 49 | e14: FTP: unknown 227 response format |
| 50 | e15: FTP: can't figure out the host in the PASV response |
| 51 | e16: Error in the HTTP2 framing layer |
| 52 | e17: FTP: couldn't set file type |
| 53 | e18: Transferred a partial file |
| 54 | e19: FTP: couldn't retrieve (RETR failed) the specified file |
| 55 | e20: Unknown error |
| 56 | e21: Quote command returned error |
| 57 | e22: HTTP response code said error |
| 58 | e23: Failed writing received data to disk/application |
| 59 | e24: Unknown error |
| 60 | e25: Upload failed (at start/before it took off) |
| 61 | e26: Failed to open/read local data from file/application |
| 62 | e27: Out of memory |
| 63 | e28: Timeout was reached |
| 64 | e29: Unknown error |
| 65 | e30: FTP: command PORT failed |
| 66 | e31: FTP: command REST failed |
| 67 | e32: Unknown error |
| 68 | e33: Requested range was not delivered by the server |
| 69 | e34: Internal problem setting up the POST |
| 70 | e35: SSL connect error |
| 71 | e36: Couldn't resume download |
| 72 | e37: Couldn't read a file:// file |
| 73 | e38: LDAP: cannot bind |
| 74 | e39: LDAP: search failed |
| 75 | e40: Unknown error |
| 76 | e41: A required function in the library was not found |
| 77 | e42: Operation was aborted by an application callback |
| 78 | e43: A libcurl function was given a bad argument |
| 79 | e44: Unknown error |
| 80 | e45: Failed binding local connection end |
| 81 | e46: Unknown error |
| 82 | e47: Number of redirects hit maximum amount |
| 83 | e48: An unknown option was passed in to libcurl |
| 84 | e49: Malformed option provided in a setopt |
| 85 | e50: Unknown error |
| 86 | e51: Unknown error |
| 87 | e52: Server returned nothing (no headers, no data) |
| 88 | e53: SSL crypto engine not found |
| 89 | e54: Can not set SSL crypto engine as default |
| 90 | e55: Failed sending data to the peer |
| 91 | e56: Failure when receiving data from the peer |
| 92 | e57: Unknown error |
| 93 | e58: Problem with the local SSL certificate |
| 94 | e59: Couldn't use specified SSL cipher |
| 95 | e60: SSL peer certificate or SSH remote key was not OK |
| 96 | e61: Unrecognized or bad HTTP Content or Transfer-Encoding |
| 97 | e62: Unknown error |
| 98 | e63: Maximum file size exceeded |
| 99 | e64: Requested SSL level failed |
| 100 | e65: Send failed since rewinding of the data stream failed |
| 101 | e66: Failed to initialise SSL crypto engine |
| 102 | e67: Login denied |
| 103 | e68: TFTP: File Not Found |
| 104 | e69: TFTP: Access Violation |
| 105 | e70: Disk full or allocation exceeded |
| 106 | e71: TFTP: Illegal operation |
| 107 | e72: TFTP: Unknown transfer ID |
| 108 | e73: Remote file already exists |
| 109 | e74: TFTP: No such user |
| 110 | e75: Unknown error |
| 111 | e76: Unknown error |
| 112 | e77: Problem with the SSL CA cert (path? access rights?) |
| 113 | e78: Remote file not found |
| 114 | e79: Error in the SSH layer |
| 115 | e80: Failed to shut down the SSL connection |
| 116 | e81: Socket not ready for send/recv |
| 117 | e82: Failed to load CRL file (path? access rights?, format?) |
| 118 | e83: Issuer check against peer certificate failed |
| 119 | e84: FTP: The server did not accept the PRET command. |
| 120 | e85: RTSP CSeq mismatch or invalid CSeq |
| 121 | e86: RTSP session error |
| 122 | e87: Unable to parse FTP file list |
| 123 | e88: Chunk callback failed |
| 124 | e89: The max connection limit is reached |
| 125 | e90: SSL public key does not match pinned public key |
| 126 | e91: SSL server certificate status verification FAILED |
| 127 | e92: Stream error in the HTTP/2 framing layer |
| 128 | e93: API function called from within callback |
| 129 | e94: An authentication function returned an error |
| 130 | e95: HTTP/3 error |
| 131 | e96: QUIC connection error |
| 132 | e97: proxy handshake error |
| 133 | e98: SSL Client Certificate required |
| 134 | e99: Unrecoverable error in select/poll |
| 135 | e100: Unknown error |
| 136 | m-1: Please call curl_multi_perform() soon |
| 137 | m0: No error |
| 138 | m1: Invalid multi handle |
| 139 | m2: Invalid easy handle |
| 140 | m3: Out of memory |
| 141 | m4: Internal error |
| 142 | m5: Invalid socket argument |
| 143 | m6: Unknown option |
| 144 | m7: The easy handle is already added to a multi handle |
| 145 | m8: API function called from within callback |
| 146 | m9: Wakeup is unavailable or failed |
| 147 | m10: A libcurl function was given a bad argument |
| 148 | m11: Operation was aborted by an application callback |
| 149 | m12: Unrecoverable error in select/poll |
| 150 | m13: Unknown error |
| 151 | s0: No error |
| 152 | s1: Unknown share option |
| 153 | s2: Share currently in use |
| 154 | s3: Invalid share handle |
| 155 | s4: Out of memory |
| 156 | s5: Feature not enabled in this library |
| 157 | s6: CURLSHcode unknown |
| 158 | u0: No error |
| 159 | u1: An invalid CURLU pointer was passed as argument |
| 160 | u2: An invalid 'part' argument was passed as argument |
| 161 | u3: Malformed input to a URL function |
| 162 | u4: Port number was not a decimal number between 0 and 65535 |
| 163 | u5: Unsupported URL scheme |
| 164 | u6: URL decode error, most likely because of rubbish in the input |
| 165 | u7: A memory function failed |
| 166 | u8: Credentials was passed in the URL when prohibited |
| 167 | u9: An unknown part ID was passed to a URL API function |
| 168 | u10: No scheme part in the URL |
| 169 | u11: No user part in the URL |
| 170 | u12: No password part in the URL |
| 171 | u13: No options part in the URL |
| 172 | u14: No host part in the URL |
| 173 | u15: No port part in the URL |
| 174 | u16: No query part in the URL |
| 175 | u17: No fragment part in the URL |
| 176 | u18: No zoneid part in the URL |
| 177 | u19: Bad file:// URL |
| 178 | u20: Bad fragment |
| 179 | u21: Bad hostname |
| 180 | u22: Bad IPv6 address |
| 181 | u23: Bad login part |
| 182 | u24: Bad password |
| 183 | u25: Bad path |
| 184 | u26: Bad query |
| 185 | u27: Bad scheme |
| 186 | u28: Unsupported number of slashes following scheme |
| 187 | u29: Bad user |
| 188 | u30: CURLUcode unknown |
| 189 | </stdout> |
| 190 | </verify> |
| 191 | |
| 192 | </testcase> |