aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-18 09:58:08 +0000
committerYang Tse <yangsita@gmail.com>2008-08-18 09:58:08 +0000
commit2f71461b2953373557bc0fbb0065859ce46378cc (patch)
tree416c6378febcae05f9d5f88e4975cb10b7cf0f2a /tests/data
parentd8cab4c13382d70995cfa26878d697a1ff7d4556 (diff)
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.
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test55752
2 files changed, 53 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index d8dbbb23c..b51de8e52 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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 \
diff --git a/tests/data/test557 b/tests/data/test557
new file mode 100644
index 000000000..2f1c1435a
--- /dev/null
+++ b/tests/data/test557
@@ -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>