From 6db8f534450d50ff70c3d5a46ac32ccfbac4da46 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 26 Oct 2008 03:03:29 +0000 Subject: test #558 verifies loop operation using malloc() and free() --- tests/data/Makefile.am | 2 +- tests/data/test558 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 tests/data/test558 (limited to 'tests/data') 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 @@ + +# +# Server-side + + + +# Client-side + + +none + +# tool is what to use instead of 'curl' + +lib558 + + + +loop testing + + +nothing + + + +# +# Verify data after the test has been "shot" + + +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 + + + + -- cgit v1.2.3