aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test557
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/test557
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/test557')
-rw-r--r--tests/data/test55752
1 files changed, 52 insertions, 0 deletions
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>