aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test55854
2 files changed, 55 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index c999e1b97..56e2ef6dc 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -59,7 +59,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test1064 test1065 test1066 test1067 test1068 test1069 test1070 test1071 \
test1072 test1073 test1074 test1075 test1076 test1077 test1078 test1079 \
test1080 test1081 test1082 test1083 test1084 test1085 test633 test634 \
- test635 test636 test637
+ test635 test636 test637 test558
filecheck:
@mkdir test-place; \
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>