aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test558
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-26 03:03:29 +0000
committerYang Tse <yangsita@gmail.com>2008-10-26 03:03:29 +0000
commit6db8f534450d50ff70c3d5a46ac32ccfbac4da46 (patch)
tree991011a35238e4b53c43ca1e6fa5433a45c8d6b6 /tests/data/test558
parent417bac4055ce215d3edb34f33f46e1dedaab48bb (diff)
test #558 verifies loop operation using malloc() and free()
Diffstat (limited to 'tests/data/test558')
-rw-r--r--tests/data/test55854
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/data/test558 b/tests/data/test558
new file mode 100644
index 000000000..481588ae6
--- /dev/null
+++ b/tests/data/test558
@@ -0,0 +1,54 @@
+<testcase>
+#
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+# tool is what to use instead of 'curl'
+<tool>
+lib558
+</tool>
+
+<name>
+loop testing
+</name>
+<command>
+nothing
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<stdout mode="text">
+malloc of root struct OK
+malloc of pointer table OK
+initializing table...
+table initialized OK
+filling pointer table...
+malloc of pointed element (idx 0) OK
+malloc of pointed element (idx 1) OK
+malloc of pointed element (idx 2) OK
+malloc of pointed element (idx 3) OK
+malloc of pointed element (idx 4) OK
+malloc of pointed element (idx 5) OK
+malloc of pointed element (idx 6) OK
+malloc of pointed element (idx 7) OK
+malloc of pointed element (idx 8) OK
+malloc of pointed element (idx 9) OK
+pointer table filling OK
+freeing pointers in table...
+freeing pointers in table OK
+freeing table...
+freeing table OK
+freeing root struct...
+freeing root struct OK
+</stdout>
+</verify>
+
+</testcase>