xref: /aosp_15_r20/external/curl/tests/data/test1538 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard Workerstrerror
5*6236dae4SAndroid Build Coastguard Workerverbose logs
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker</reply>
13*6236dae4SAndroid Build Coastguard Worker
14*6236dae4SAndroid Build Coastguard Worker# Client-side
15*6236dae4SAndroid Build Coastguard Worker<client>
16*6236dae4SAndroid Build Coastguard Worker<server>
17*6236dae4SAndroid Build Coastguard Workernone
18*6236dae4SAndroid Build Coastguard Worker</server>
19*6236dae4SAndroid Build Coastguard Worker<tool>
20*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
21*6236dae4SAndroid Build Coastguard Worker</tool>
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard Worker<name>
24*6236dae4SAndroid Build Coastguard Workerlibcurl strerror API call tests
25*6236dae4SAndroid Build Coastguard Worker</name>
26*6236dae4SAndroid Build Coastguard Worker<command>
27*6236dae4SAndroid Build Coastguard Workernothing
28*6236dae4SAndroid Build Coastguard Worker</command>
29*6236dae4SAndroid Build Coastguard Worker</client>
30*6236dae4SAndroid Build Coastguard Worker
31*6236dae4SAndroid Build Coastguard Worker#
32*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
33*6236dae4SAndroid Build Coastguard Worker<verify>
34*6236dae4SAndroid Build Coastguard Worker<stdout>
35*6236dae4SAndroid Build Coastguard Workere0: No error
36*6236dae4SAndroid Build Coastguard Workere1: Unsupported protocol
37*6236dae4SAndroid Build Coastguard Workere2: Failed initialization
38*6236dae4SAndroid Build Coastguard Workere3: URL using bad/illegal format or missing URL
39*6236dae4SAndroid Build Coastguard Workere4: A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision.
40*6236dae4SAndroid Build Coastguard Workere5: Could not resolve proxy name
41*6236dae4SAndroid Build Coastguard Workere6: Could not resolve hostname
42*6236dae4SAndroid Build Coastguard Workere7: Could not connect to server
43*6236dae4SAndroid Build Coastguard Workere8: Weird server reply
44*6236dae4SAndroid Build Coastguard Workere9: Access denied to remote resource
45*6236dae4SAndroid Build Coastguard Workere10: FTP: The server failed to connect to data port
46*6236dae4SAndroid Build Coastguard Workere11: FTP: unknown PASS reply
47*6236dae4SAndroid Build Coastguard Workere12: FTP: Accepting server connect has timed out
48*6236dae4SAndroid Build Coastguard Workere13: FTP: unknown PASV reply
49*6236dae4SAndroid Build Coastguard Workere14: FTP: unknown 227 response format
50*6236dae4SAndroid Build Coastguard Workere15: FTP: cannot figure out the host in the PASV response
51*6236dae4SAndroid Build Coastguard Workere16: Error in the HTTP2 framing layer
52*6236dae4SAndroid Build Coastguard Workere17: FTP: could not set file type
53*6236dae4SAndroid Build Coastguard Workere18: Transferred a partial file
54*6236dae4SAndroid Build Coastguard Workere19: FTP: could not retrieve (RETR failed) the specified file
55*6236dae4SAndroid Build Coastguard Workere20: Unknown error
56*6236dae4SAndroid Build Coastguard Workere21: Quote command returned error
57*6236dae4SAndroid Build Coastguard Workere22: HTTP response code said error
58*6236dae4SAndroid Build Coastguard Workere23: Failed writing received data to disk/application
59*6236dae4SAndroid Build Coastguard Workere24: Unknown error
60*6236dae4SAndroid Build Coastguard Workere25: Upload failed (at start/before it took off)
61*6236dae4SAndroid Build Coastguard Workere26: Failed to open/read local data from file/application
62*6236dae4SAndroid Build Coastguard Workere27: Out of memory
63*6236dae4SAndroid Build Coastguard Workere28: Timeout was reached
64*6236dae4SAndroid Build Coastguard Workere29: Unknown error
65*6236dae4SAndroid Build Coastguard Workere30: FTP: command PORT failed
66*6236dae4SAndroid Build Coastguard Workere31: FTP: command REST failed
67*6236dae4SAndroid Build Coastguard Workere32: Unknown error
68*6236dae4SAndroid Build Coastguard Workere33: Requested range was not delivered by the server
69*6236dae4SAndroid Build Coastguard Workere34: Internal problem setting up the POST
70*6236dae4SAndroid Build Coastguard Workere35: SSL connect error
71*6236dae4SAndroid Build Coastguard Workere36: Could not resume download
72*6236dae4SAndroid Build Coastguard Workere37: Could not read a file:// file
73*6236dae4SAndroid Build Coastguard Workere38: LDAP: cannot bind
74*6236dae4SAndroid Build Coastguard Workere39: LDAP: search failed
75*6236dae4SAndroid Build Coastguard Workere40: Unknown error
76*6236dae4SAndroid Build Coastguard Workere41: A required function in the library was not found
77*6236dae4SAndroid Build Coastguard Workere42: Operation was aborted by an application callback
78*6236dae4SAndroid Build Coastguard Workere43: A libcurl function was given a bad argument
79*6236dae4SAndroid Build Coastguard Workere44: Unknown error
80*6236dae4SAndroid Build Coastguard Workere45: Failed binding local connection end
81*6236dae4SAndroid Build Coastguard Workere46: Unknown error
82*6236dae4SAndroid Build Coastguard Workere47: Number of redirects hit maximum amount
83*6236dae4SAndroid Build Coastguard Workere48: An unknown option was passed in to libcurl
84*6236dae4SAndroid Build Coastguard Workere49: Malformed option provided in a setopt
85*6236dae4SAndroid Build Coastguard Workere50: Unknown error
86*6236dae4SAndroid Build Coastguard Workere51: Unknown error
87*6236dae4SAndroid Build Coastguard Workere52: Server returned nothing (no headers, no data)
88*6236dae4SAndroid Build Coastguard Workere53: SSL crypto engine not found
89*6236dae4SAndroid Build Coastguard Workere54: Can not set SSL crypto engine as default
90*6236dae4SAndroid Build Coastguard Workere55: Failed sending data to the peer
91*6236dae4SAndroid Build Coastguard Workere56: Failure when receiving data from the peer
92*6236dae4SAndroid Build Coastguard Workere57: Unknown error
93*6236dae4SAndroid Build Coastguard Workere58: Problem with the local SSL certificate
94*6236dae4SAndroid Build Coastguard Workere59: Could not use specified SSL cipher
95*6236dae4SAndroid Build Coastguard Workere60: SSL peer certificate or SSH remote key was not OK
96*6236dae4SAndroid Build Coastguard Workere61: Unrecognized or bad HTTP Content or Transfer-Encoding
97*6236dae4SAndroid Build Coastguard Workere62: Unknown error
98*6236dae4SAndroid Build Coastguard Workere63: Maximum file size exceeded
99*6236dae4SAndroid Build Coastguard Workere64: Requested SSL level failed
100*6236dae4SAndroid Build Coastguard Workere65: Send failed since rewinding of the data stream failed
101*6236dae4SAndroid Build Coastguard Workere66: Failed to initialise SSL crypto engine
102*6236dae4SAndroid Build Coastguard Workere67: Login denied
103*6236dae4SAndroid Build Coastguard Workere68: TFTP: File Not Found
104*6236dae4SAndroid Build Coastguard Workere69: TFTP: Access Violation
105*6236dae4SAndroid Build Coastguard Workere70: Disk full or allocation exceeded
106*6236dae4SAndroid Build Coastguard Workere71: TFTP: Illegal operation
107*6236dae4SAndroid Build Coastguard Workere72: TFTP: Unknown transfer ID
108*6236dae4SAndroid Build Coastguard Workere73: Remote file already exists
109*6236dae4SAndroid Build Coastguard Workere74: TFTP: No such user
110*6236dae4SAndroid Build Coastguard Workere75: Unknown error
111*6236dae4SAndroid Build Coastguard Workere76: Unknown error
112*6236dae4SAndroid Build Coastguard Workere77: Problem with the SSL CA cert (path? access rights?)
113*6236dae4SAndroid Build Coastguard Workere78: Remote file not found
114*6236dae4SAndroid Build Coastguard Workere79: Error in the SSH layer
115*6236dae4SAndroid Build Coastguard Workere80: Failed to shut down the SSL connection
116*6236dae4SAndroid Build Coastguard Workere81: Socket not ready for send/recv
117*6236dae4SAndroid Build Coastguard Workere82: Failed to load CRL file (path? access rights?, format?)
118*6236dae4SAndroid Build Coastguard Workere83: Issuer check against peer certificate failed
119*6236dae4SAndroid Build Coastguard Workere84: FTP: The server did not accept the PRET command.
120*6236dae4SAndroid Build Coastguard Workere85: RTSP CSeq mismatch or invalid CSeq
121*6236dae4SAndroid Build Coastguard Workere86: RTSP session error
122*6236dae4SAndroid Build Coastguard Workere87: Unable to parse FTP file list
123*6236dae4SAndroid Build Coastguard Workere88: Chunk callback failed
124*6236dae4SAndroid Build Coastguard Workere89: The max connection limit is reached
125*6236dae4SAndroid Build Coastguard Workere90: SSL public key does not match pinned public key
126*6236dae4SAndroid Build Coastguard Workere91: SSL server certificate status verification FAILED
127*6236dae4SAndroid Build Coastguard Workere92: Stream error in the HTTP/2 framing layer
128*6236dae4SAndroid Build Coastguard Workere93: API function called from within callback
129*6236dae4SAndroid Build Coastguard Workere94: An authentication function returned an error
130*6236dae4SAndroid Build Coastguard Workere95: HTTP/3 error
131*6236dae4SAndroid Build Coastguard Workere96: QUIC connection error
132*6236dae4SAndroid Build Coastguard Workere97: proxy handshake error
133*6236dae4SAndroid Build Coastguard Workere98: SSL Client Certificate required
134*6236dae4SAndroid Build Coastguard Workere99: Unrecoverable error in select/poll
135*6236dae4SAndroid Build Coastguard Workere100: A value or data field grew larger than allowed
136*6236dae4SAndroid Build Coastguard Workere101: ECH attempted but failed
137*6236dae4SAndroid Build Coastguard Workere102: Unknown error
138*6236dae4SAndroid Build Coastguard Workerm-1: Please call curl_multi_perform() soon
139*6236dae4SAndroid Build Coastguard Workerm0: No error
140*6236dae4SAndroid Build Coastguard Workerm1: Invalid multi handle
141*6236dae4SAndroid Build Coastguard Workerm2: Invalid easy handle
142*6236dae4SAndroid Build Coastguard Workerm3: Out of memory
143*6236dae4SAndroid Build Coastguard Workerm4: Internal error
144*6236dae4SAndroid Build Coastguard Workerm5: Invalid socket argument
145*6236dae4SAndroid Build Coastguard Workerm6: Unknown option
146*6236dae4SAndroid Build Coastguard Workerm7: The easy handle is already added to a multi handle
147*6236dae4SAndroid Build Coastguard Workerm8: API function called from within callback
148*6236dae4SAndroid Build Coastguard Workerm9: Wakeup is unavailable or failed
149*6236dae4SAndroid Build Coastguard Workerm10: A libcurl function was given a bad argument
150*6236dae4SAndroid Build Coastguard Workerm11: Operation was aborted by an application callback
151*6236dae4SAndroid Build Coastguard Workerm12: Unrecoverable error in select/poll
152*6236dae4SAndroid Build Coastguard Workerm13: Unknown error
153*6236dae4SAndroid Build Coastguard Workers0: No error
154*6236dae4SAndroid Build Coastguard Workers1: Unknown share option
155*6236dae4SAndroid Build Coastguard Workers2: Share currently in use
156*6236dae4SAndroid Build Coastguard Workers3: Invalid share handle
157*6236dae4SAndroid Build Coastguard Workers4: Out of memory
158*6236dae4SAndroid Build Coastguard Workers5: Feature not enabled in this library
159*6236dae4SAndroid Build Coastguard Workers6: CURLSHcode unknown
160*6236dae4SAndroid Build Coastguard Workeru0: No error
161*6236dae4SAndroid Build Coastguard Workeru1: An invalid CURLU pointer was passed as argument
162*6236dae4SAndroid Build Coastguard Workeru2: An invalid 'part' argument was passed as argument
163*6236dae4SAndroid Build Coastguard Workeru3: Malformed input to a URL function
164*6236dae4SAndroid Build Coastguard Workeru4: Port number was not a decimal number between 0 and 65535
165*6236dae4SAndroid Build Coastguard Workeru5: Unsupported URL scheme
166*6236dae4SAndroid Build Coastguard Workeru6: URL decode error, most likely because of rubbish in the input
167*6236dae4SAndroid Build Coastguard Workeru7: A memory function failed
168*6236dae4SAndroid Build Coastguard Workeru8: Credentials was passed in the URL when prohibited
169*6236dae4SAndroid Build Coastguard Workeru9: An unknown part ID was passed to a URL API function
170*6236dae4SAndroid Build Coastguard Workeru10: No scheme part in the URL
171*6236dae4SAndroid Build Coastguard Workeru11: No user part in the URL
172*6236dae4SAndroid Build Coastguard Workeru12: No password part in the URL
173*6236dae4SAndroid Build Coastguard Workeru13: No options part in the URL
174*6236dae4SAndroid Build Coastguard Workeru14: No host part in the URL
175*6236dae4SAndroid Build Coastguard Workeru15: No port part in the URL
176*6236dae4SAndroid Build Coastguard Workeru16: No query part in the URL
177*6236dae4SAndroid Build Coastguard Workeru17: No fragment part in the URL
178*6236dae4SAndroid Build Coastguard Workeru18: No zoneid part in the URL
179*6236dae4SAndroid Build Coastguard Workeru19: Bad file:// URL
180*6236dae4SAndroid Build Coastguard Workeru20: Bad fragment
181*6236dae4SAndroid Build Coastguard Workeru21: Bad hostname
182*6236dae4SAndroid Build Coastguard Workeru22: Bad IPv6 address
183*6236dae4SAndroid Build Coastguard Workeru23: Bad login part
184*6236dae4SAndroid Build Coastguard Workeru24: Bad password
185*6236dae4SAndroid Build Coastguard Workeru25: Bad path
186*6236dae4SAndroid Build Coastguard Workeru26: Bad query
187*6236dae4SAndroid Build Coastguard Workeru27: Bad scheme
188*6236dae4SAndroid Build Coastguard Workeru28: Unsupported number of slashes following scheme
189*6236dae4SAndroid Build Coastguard Workeru29: Bad user
190*6236dae4SAndroid Build Coastguard Workeru30: libcurl lacks IDN support
191*6236dae4SAndroid Build Coastguard Workeru31: A value or data field is larger than allowed
192*6236dae4SAndroid Build Coastguard Workeru32: CURLUcode unknown
193*6236dae4SAndroid Build Coastguard Worker</stdout>
194*6236dae4SAndroid Build Coastguard Worker</verify>
195*6236dae4SAndroid Build Coastguard Worker
196*6236dae4SAndroid Build Coastguard Worker</testcase>
197