summaryrefslogtreecommitdiff
path: root/tests/data/test559
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-27 20:01:58 +0000
committerYang Tse <yangsita@gmail.com>2008-10-27 20:01:58 +0000
commit92f3b3895eed05d12aeae75e9ee174698550378a (patch)
tree7fc40e2059dd4eafdc21354e4683fc8ca1b5ee27 /tests/data/test559
parentfa8a78ff01877ae549d23031c6cb7ec07b379b59 (diff)
downloadcurl-92f3b3895eed05d12aeae75e9ee174698550378a.tar.gz
test #558 tests internal hash create/destroy
test #559 tests internal hash create/add/destroy
Diffstat (limited to 'tests/data/test559')
-rw-r--r--tests/data/test55944
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test559 b/tests/data/test559
new file mode 100644
index 000000000..ecaf54c7e
--- /dev/null
+++ b/tests/data/test559
@@ -0,0 +1,44 @@
+<testcase>
+#
+# Server-side
+<reply>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+# tool is what to use instead of 'curl'
+<tool>
+lib559
+</tool>
+# precheck is a command line to run before the test,
+# to see if we can execute the test or not
+<precheck>
+./libtest/lib559 check
+</precheck>
+
+<name>
+internal hash create/add/destroy testing
+</name>
+<command>
+nothing
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<stdout mode="text">
+easy handle init OK
+creating hash...
+hash creation OK
+destroying hash...
+hash destruction OK
+destroying easy handle...
+easy handle destruction OK
+</stdout>
+</verify>
+
+</testcase>