mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
75f00de55c
Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
40 lines
623 B
Plaintext
40 lines
623 B
Plaintext
<testcase>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
# tool is what to use instead of 'curl'
|
|
<tool>
|
|
lib557
|
|
</tool>
|
|
|
|
<name>
|
|
curl_mprintf() testing
|
|
</name>
|
|
<command>
|
|
nothing
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<stdout>
|
|
All curl_mprintf() unsigned short tests OK!
|
|
All curl_mprintf() signed short tests OK!
|
|
All curl_mprintf() unsigned int tests OK!
|
|
All curl_mprintf() signed int tests OK!
|
|
All curl_mprintf() unsigned long tests OK!
|
|
All curl_mprintf() signed long tests OK!
|
|
All curl_mprintf() curl_off_t tests OK!
|
|
</stdout>
|
|
</verify>
|
|
|
|
</testcase>
|