Added test case 557 to verify libcurl's internal curl_m*printf() functions

formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.
This commit is contained in:
Yang Tse
2008-08-18 09:58:08 +00:00
parent d8cab4c133
commit 2f71461b29
5 changed files with 330 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1021 test1022 test1023 test309 test616 test617 test618 test619 \
test620 test621 test622 test623 test624 test625 test626 test627 test554 \
test1024 test1025 test555 test1026 test1027 test1028 test1029 test1030 \
test556 test1031 test628 test629 test630 test631 test632 test1032 \
test556 test557 test1031 test628 test629 test630 test631 test632 test1032 \
test1033 test539 test1034 test1035 test1036 test1037 test1038 test1039 \
test1040 test1041 test1042 test1043 test1044 test1045 test1046 test1047 \
test1048 test1049 test1050 test1051 test1052 test1053 test1054 test1055 \

52
tests/data/test557 Normal file
View File

@@ -0,0 +1,52 @@
<testcase>
<info>
<keywords>
curl_mprintf
</keywords>
</info>
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
<tool>
lib557
</tool>
<name>
curl_mprintf
</name>
<command>
nothing
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout mode="text">
unsigned long test #1: OK
unsigned long test #2: OK
unsigned long test #3: OK
unsigned long test #4: OK
signed long test #1: OK
signed long test #2: OK
signed long test #3: OK
signed long test #4: OK
signed long test #5: OK
signed long test #6: OK
signed long test #7: OK
curl_off_t test #1: OK
curl_off_t test #2: OK
curl_off_t test #3: OK
curl_off_t test #4: OK
curl_off_t test #5: OK
curl_off_t test #6: OK
curl_off_t test #7: OK
</stdout>
</verify>
</testcase>