mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
7cb1e1ee01
Windows does not allow setting the locale with environment variables (as the test attempted to do), so the test failed when run with a user locale that has a comma as radixchar. Changed the test to call setlocale() explicitly to ensure that a known working locale is set even on Windows.
48 lines
742 B
Plaintext
48 lines
742 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
printf
|
|
unittest
|
|
</keywords>
|
|
</info>
|
|
#
|
|
# 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!
|
|
All curl_mprintf() strings tests OK!
|
|
All float strings tests OK!
|
|
</stdout>
|
|
</verify>
|
|
|
|
</testcase>
|