Commit fb199cd2 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Converted tests 558 & 559 to use the unit test framework as 1305

Test 558 was just a subset of 559 which is something that can be
easily added later.
parent a8aab6e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -145,7 +145,9 @@ TEST CASE NUMBERS
 600 - 699   SCP/SFTP
 700 - 799   SOCKS4 (even numbers) and SOCK5 (odd numbers)
 800 - 899   POP3, IMAP, SMTP
 1000 - 1999 miscellaneous*
 1000 - 1299 miscellaneous*
 1300 - 1399 unit tests*
 1400 - 1999 miscellaneous*
 2000 - x    multiple sequential protocols per test case*

 Since 30-apr-2003, there's nothing in the system that requires us to keep
+2 −2
Original line number Diff line number Diff line
@@ -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 test558 test559 test1086 test1087 test1088	   \
 test635 test636 test637 test1086 test1087 test1088	   \
 test574 test575 test576 test577 test1113 test1114 test1089 test1090	   \
 test1091 test1092 test1093 test1094 test1095 test1096 test1097 test560	   \
 test561 test1098 test1099 test562 test563 test1100 test564 test1101	   \
@@ -70,7 +70,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
 test313 test1115 test578 test579 test1116 test1200 test1201 test1202	   \
 test1203 test1117 test1118 test1119 test1120 test1300 test1301 test1302 \
 test1303 test320 test321 test322 test323 test324 test1121 test581 test580 \
 test1304
 test1304 test1305

filecheck:
	@mkdir test-place; \

tests/data/test1305

0 → 100644
+26 −0
Original line number Diff line number Diff line
<testcase>
<info>
<keywords>
unittest
hash
</keywords>
</info>

#
# Client-side
<client>
<server>
none
</server>
<features>
unittest
</features>
 <name>
internal hash create/add/destroy testing
 </name>
<tool>
unit1305
</tool>
</client>

</testcase>

tests/data/test558

deleted100644 → 0
+0 −44
Original line number Diff line number Diff line
<testcase>
#
# Server-side
<reply>
</reply>

# Client-side
<client>
<server>
none
</server>
# tool is what to use instead of 'curl'
<tool>
lib558
</tool>
# precheck is a command line to run before the test,
# to see if we can execute the test or not
<precheck>
./libtest/lib558 check
</precheck>

<name>
internal hash create/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>

tests/data/test559

deleted100644 → 0
+0 −44
Original line number Diff line number Diff line
<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>
Loading