diff options
author | Yang Tse <yangsita@gmail.com> | 2013-01-03 12:40:55 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-01-03 19:24:00 +0100 |
commit | 0b3180b4f53d8f101974d5f039a21f0529c15601 (patch) | |
tree | 1d5de8aceadba807c742e2d3da038c59c91c3c7f /tests/data | |
parent | 8f13e3ddb98563db8e3965c894b2ad948e30b9e3 (diff) |
test 1222: 8 chars object name generation && test 1221: adjustments
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test1221 | 2 | ||||
-rw-r--r-- | tests/data/test1222 | 46 |
3 files changed, 48 insertions, 2 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index aaa75e915..bf71a43ff 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -78,7 +78,7 @@ test1118 test1119 test1120 test1121 test1122 test1123 test1124 test1125 \ test1126 test1127 test1128 test1129 test1130 test1131 test1132 \ test1200 test1201 test1202 test1203 test1204 test1205 test1206 test1207 \ test1208 test1209 test1210 test1211 \ -test1220 test1221 \ +test1220 test1221 test1222 \ test1300 test1301 test1302 test1303 test1304 test1305 \ test1306 test1307 test1308 test1309 test1310 test1311 test1312 test1313 \ test1314 test1315 test1316 test1317 test1318 test1319 test1320 test1321 \ diff --git a/tests/data/test1221 b/tests/data/test1221 index 26d06108d..7cbee539a 100644 --- a/tests/data/test1221 +++ b/tests/data/test1221 @@ -10,7 +10,7 @@ none 10 chars object name generation testing </name> <command option="no-output,no-include" type="shell"> -%SRCDIR/../lib/objnames-test.sh %SRCDIR +%SRCDIR/../lib/objnames-test10.sh %SRCDIR </command> </client> diff --git a/tests/data/test1222 b/tests/data/test1222 new file mode 100644 index 000000000..521d4db59 --- /dev/null +++ b/tests/data/test1222 @@ -0,0 +1,46 @@ +<testcase> +# +# Client-side +<client> +<server> +none +</server> + +<name> +8 chars object name generation testing +</name> +<command option="no-output,no-include" type="shell"> +%SRCDIR/../lib/objnames-test08.sh %SRCDIR +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<file1 name="log/stderr1222"> +</file1> +<file2 name="log/stdout1222"> +Testing curl_8char_object_name... + +result: 16AFKPQR expected: 16AFKPQR input: 123__678__ABC__FGH__KLM__PQRSTUV +result: 16AFKPQ expected: 16AFKPQ input: 123__678__ABC__FGH__KLM__PQ.S.UV +result: 16ABC expected: 16ABC input: 123__678__ABC..FGH..KLM..PQRSTUV +result: 16 expected: 16 input: 123__678_.ABC._FGH__KLM__PQRSTUV +result: 123 expected: 123 input: 123.567.90ABCDEFGHIJKLMNOPQRSTUV +result: 1234567 expected: 1234567 input: 1234567.90A.CDEFGHIJKLMNOPQRSTUV +result: 12345678 expected: 12345678 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV +result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV +result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV +result: 159CGHIJ expected: 159CGHIJ input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV +result: 159CDEFG expected: 159CDEFG input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV +result: 1590ABCD expected: 1590ABCD input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV +result: 1567890A expected: 1567890A input: 123_567890ABCDEFGHIJKLMNOPQRSTUV +result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV + + + +8-characters-or-less generated object names are unique. +</file2> +</verify> + +</testcase> |