xref: /third_party/curl/tests/data/test1538 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_cistrerror
513498266Sopenharmony_civerbose logs
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci</reply>
1313498266Sopenharmony_ci
1413498266Sopenharmony_ci# Client-side
1513498266Sopenharmony_ci<client>
1613498266Sopenharmony_ci<server>
1713498266Sopenharmony_cinone
1813498266Sopenharmony_ci</server>
1913498266Sopenharmony_ci<tool>
2013498266Sopenharmony_cilib%TESTNUMBER
2113498266Sopenharmony_ci</tool>
2213498266Sopenharmony_ci
2313498266Sopenharmony_ci<name>
2413498266Sopenharmony_cilibcurl strerror API call tests
2513498266Sopenharmony_ci</name>
2613498266Sopenharmony_ci<command>
2713498266Sopenharmony_cinothing
2813498266Sopenharmony_ci</command>
2913498266Sopenharmony_ci</client>
3013498266Sopenharmony_ci
3113498266Sopenharmony_ci#
3213498266Sopenharmony_ci# Verify data after the test has been "shot"
3313498266Sopenharmony_ci<verify>
3413498266Sopenharmony_ci<stdout>
3513498266Sopenharmony_cie0: No error
3613498266Sopenharmony_cie1: Unsupported protocol
3713498266Sopenharmony_cie2: Failed initialization
3813498266Sopenharmony_cie3: URL using bad/illegal format or missing URL
3913498266Sopenharmony_cie4: A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
4013498266Sopenharmony_cie5: Couldn't resolve proxy name
4113498266Sopenharmony_cie6: Couldn't resolve host name
4213498266Sopenharmony_cie7: Couldn't connect to server
4313498266Sopenharmony_cie8: Weird server reply
4413498266Sopenharmony_cie9: Access denied to remote resource
4513498266Sopenharmony_cie10: FTP: The server failed to connect to data port
4613498266Sopenharmony_cie11: FTP: unknown PASS reply
4713498266Sopenharmony_cie12: FTP: Accepting server connect has timed out
4813498266Sopenharmony_cie13: FTP: unknown PASV reply
4913498266Sopenharmony_cie14: FTP: unknown 227 response format
5013498266Sopenharmony_cie15: FTP: can't figure out the host in the PASV response
5113498266Sopenharmony_cie16: Error in the HTTP2 framing layer
5213498266Sopenharmony_cie17: FTP: couldn't set file type
5313498266Sopenharmony_cie18: Transferred a partial file
5413498266Sopenharmony_cie19: FTP: couldn't retrieve (RETR failed) the specified file
5513498266Sopenharmony_cie20: Unknown error
5613498266Sopenharmony_cie21: Quote command returned error
5713498266Sopenharmony_cie22: HTTP response code said error
5813498266Sopenharmony_cie23: Failed writing received data to disk/application
5913498266Sopenharmony_cie24: Unknown error
6013498266Sopenharmony_cie25: Upload failed (at start/before it took off)
6113498266Sopenharmony_cie26: Failed to open/read local data from file/application
6213498266Sopenharmony_cie27: Out of memory
6313498266Sopenharmony_cie28: Timeout was reached
6413498266Sopenharmony_cie29: Unknown error
6513498266Sopenharmony_cie30: FTP: command PORT failed
6613498266Sopenharmony_cie31: FTP: command REST failed
6713498266Sopenharmony_cie32: Unknown error
6813498266Sopenharmony_cie33: Requested range was not delivered by the server
6913498266Sopenharmony_cie34: Internal problem setting up the POST
7013498266Sopenharmony_cie35: SSL connect error
7113498266Sopenharmony_cie36: Couldn't resume download
7213498266Sopenharmony_cie37: Couldn't read a file:// file
7313498266Sopenharmony_cie38: LDAP: cannot bind
7413498266Sopenharmony_cie39: LDAP: search failed
7513498266Sopenharmony_cie40: Unknown error
7613498266Sopenharmony_cie41: A required function in the library was not found
7713498266Sopenharmony_cie42: Operation was aborted by an application callback
7813498266Sopenharmony_cie43: A libcurl function was given a bad argument
7913498266Sopenharmony_cie44: Unknown error
8013498266Sopenharmony_cie45: Failed binding local connection end
8113498266Sopenharmony_cie46: Unknown error
8213498266Sopenharmony_cie47: Number of redirects hit maximum amount
8313498266Sopenharmony_cie48: An unknown option was passed in to libcurl
8413498266Sopenharmony_cie49: Malformed option provided in a setopt
8513498266Sopenharmony_cie50: Unknown error
8613498266Sopenharmony_cie51: Unknown error
8713498266Sopenharmony_cie52: Server returned nothing (no headers, no data)
8813498266Sopenharmony_cie53: SSL crypto engine not found
8913498266Sopenharmony_cie54: Can not set SSL crypto engine as default
9013498266Sopenharmony_cie55: Failed sending data to the peer
9113498266Sopenharmony_cie56: Failure when receiving data from the peer
9213498266Sopenharmony_cie57: Unknown error
9313498266Sopenharmony_cie58: Problem with the local SSL certificate
9413498266Sopenharmony_cie59: Couldn't use specified SSL cipher
9513498266Sopenharmony_cie60: SSL peer certificate or SSH remote key was not OK
9613498266Sopenharmony_cie61: Unrecognized or bad HTTP Content or Transfer-Encoding
9713498266Sopenharmony_cie62: Unknown error
9813498266Sopenharmony_cie63: Maximum file size exceeded
9913498266Sopenharmony_cie64: Requested SSL level failed
10013498266Sopenharmony_cie65: Send failed since rewinding of the data stream failed
10113498266Sopenharmony_cie66: Failed to initialise SSL crypto engine
10213498266Sopenharmony_cie67: Login denied
10313498266Sopenharmony_cie68: TFTP: File Not Found
10413498266Sopenharmony_cie69: TFTP: Access Violation
10513498266Sopenharmony_cie70: Disk full or allocation exceeded
10613498266Sopenharmony_cie71: TFTP: Illegal operation
10713498266Sopenharmony_cie72: TFTP: Unknown transfer ID
10813498266Sopenharmony_cie73: Remote file already exists
10913498266Sopenharmony_cie74: TFTP: No such user
11013498266Sopenharmony_cie75: Unknown error
11113498266Sopenharmony_cie76: Unknown error
11213498266Sopenharmony_cie77: Problem with the SSL CA cert (path? access rights?)
11313498266Sopenharmony_cie78: Remote file not found
11413498266Sopenharmony_cie79: Error in the SSH layer
11513498266Sopenharmony_cie80: Failed to shut down the SSL connection
11613498266Sopenharmony_cie81: Socket not ready for send/recv
11713498266Sopenharmony_cie82: Failed to load CRL file (path? access rights?, format?)
11813498266Sopenharmony_cie83: Issuer check against peer certificate failed
11913498266Sopenharmony_cie84: FTP: The server did not accept the PRET command.
12013498266Sopenharmony_cie85: RTSP CSeq mismatch or invalid CSeq
12113498266Sopenharmony_cie86: RTSP session error
12213498266Sopenharmony_cie87: Unable to parse FTP file list
12313498266Sopenharmony_cie88: Chunk callback failed
12413498266Sopenharmony_cie89: The max connection limit is reached
12513498266Sopenharmony_cie90: SSL public key does not match pinned public key
12613498266Sopenharmony_cie91: SSL server certificate status verification FAILED
12713498266Sopenharmony_cie92: Stream error in the HTTP/2 framing layer
12813498266Sopenharmony_cie93: API function called from within callback
12913498266Sopenharmony_cie94: An authentication function returned an error
13013498266Sopenharmony_cie95: HTTP/3 error
13113498266Sopenharmony_cie96: QUIC connection error
13213498266Sopenharmony_cie97: proxy handshake error
13313498266Sopenharmony_cie98: SSL Client Certificate required
13413498266Sopenharmony_cie99: Unrecoverable error in select/poll
13513498266Sopenharmony_cie100: A value or data field grew larger than allowed
13613498266Sopenharmony_cie101: Unknown error
13713498266Sopenharmony_cim-1: Please call curl_multi_perform() soon
13813498266Sopenharmony_cim0: No error
13913498266Sopenharmony_cim1: Invalid multi handle
14013498266Sopenharmony_cim2: Invalid easy handle
14113498266Sopenharmony_cim3: Out of memory
14213498266Sopenharmony_cim4: Internal error
14313498266Sopenharmony_cim5: Invalid socket argument
14413498266Sopenharmony_cim6: Unknown option
14513498266Sopenharmony_cim7: The easy handle is already added to a multi handle
14613498266Sopenharmony_cim8: API function called from within callback
14713498266Sopenharmony_cim9: Wakeup is unavailable or failed
14813498266Sopenharmony_cim10: A libcurl function was given a bad argument
14913498266Sopenharmony_cim11: Operation was aborted by an application callback
15013498266Sopenharmony_cim12: Unrecoverable error in select/poll
15113498266Sopenharmony_cim13: Unknown error
15213498266Sopenharmony_cis0: No error
15313498266Sopenharmony_cis1: Unknown share option
15413498266Sopenharmony_cis2: Share currently in use
15513498266Sopenharmony_cis3: Invalid share handle
15613498266Sopenharmony_cis4: Out of memory
15713498266Sopenharmony_cis5: Feature not enabled in this library
15813498266Sopenharmony_cis6: CURLSHcode unknown
15913498266Sopenharmony_ciu0: No error
16013498266Sopenharmony_ciu1: An invalid CURLU pointer was passed as argument
16113498266Sopenharmony_ciu2: An invalid 'part' argument was passed as argument
16213498266Sopenharmony_ciu3: Malformed input to a URL function
16313498266Sopenharmony_ciu4: Port number was not a decimal number between 0 and 65535
16413498266Sopenharmony_ciu5: Unsupported URL scheme
16513498266Sopenharmony_ciu6: URL decode error, most likely because of rubbish in the input
16613498266Sopenharmony_ciu7: A memory function failed
16713498266Sopenharmony_ciu8: Credentials was passed in the URL when prohibited
16813498266Sopenharmony_ciu9: An unknown part ID was passed to a URL API function
16913498266Sopenharmony_ciu10: No scheme part in the URL
17013498266Sopenharmony_ciu11: No user part in the URL
17113498266Sopenharmony_ciu12: No password part in the URL
17213498266Sopenharmony_ciu13: No options part in the URL
17313498266Sopenharmony_ciu14: No host part in the URL
17413498266Sopenharmony_ciu15: No port part in the URL
17513498266Sopenharmony_ciu16: No query part in the URL
17613498266Sopenharmony_ciu17: No fragment part in the URL
17713498266Sopenharmony_ciu18: No zoneid part in the URL
17813498266Sopenharmony_ciu19: Bad file:// URL
17913498266Sopenharmony_ciu20: Bad fragment
18013498266Sopenharmony_ciu21: Bad hostname
18113498266Sopenharmony_ciu22: Bad IPv6 address
18213498266Sopenharmony_ciu23: Bad login part
18313498266Sopenharmony_ciu24: Bad password
18413498266Sopenharmony_ciu25: Bad path
18513498266Sopenharmony_ciu26: Bad query
18613498266Sopenharmony_ciu27: Bad scheme
18713498266Sopenharmony_ciu28: Unsupported number of slashes following scheme
18813498266Sopenharmony_ciu29: Bad user
18913498266Sopenharmony_ciu30: libcurl lacks IDN support
19013498266Sopenharmony_ciu31: A value or data field is larger than allowed
19113498266Sopenharmony_ciu32: CURLUcode unknown
19213498266Sopenharmony_ci</stdout>
19313498266Sopenharmony_ci</verify>
19413498266Sopenharmony_ci
19513498266Sopenharmony_ci</testcase>
196