hostip: fix unintended destruction of hash table

.. and added unit1602 for hash.c
This commit is contained in:
Anthony Avina
2015-05-02 13:49:55 -05:00
committed by Daniel Stenberg
parent 39b9bf60d1
commit 4883f7019d
11 changed files with 136 additions and 12 deletions

View File

@@ -155,7 +155,7 @@ test1520 \
\
test1525 test1526 test1527 test1528 test1529 \
\
test1600 test1601 \
test1600 test1601 test1602 \
\
test1800 test1801 \
\

26
tests/data/test1602 Normal file
View File

@@ -0,0 +1,26 @@
<testcase>
<info>
<keywords>
unittest
hash
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<features>
unittest
</features>
<name>
Internal hash create/add/destroy testing, exercising clean functions
</name>
<tool>
unit1602
</tool>
</client>
</testcase>