0df8bde9ba3711d8bfa989fb5d7b459b3ca4d7af
[platform/upstream/curl.git] / tests / data / test1222
1 <testcase>
2 #
3 # Client-side
4 <client>
5 <server>
6 none
7 </server>
8
9 <name>
10 8 chars object name generation testing
11 </name>
12 <command option="no-output,no-include" type="shell">
13 %SRCDIR/../lib/objnames-test08.sh %SRCDIR
14 </command>
15 </client>
16
17 #
18 # Verify data after the test has been "shot"
19 <verify>
20 <file1 name="log/stderr1222" mode="text">
21 </file1>
22 <file2 name="log/stdout1222" mode="text">
23 Testing curl_8char_object_name...
24
25 result: 16AFKPQR expected: 16AFKPQR input: 123__678__ABC__FGH__KLM__PQRSTUV
26 result: 16AFKPQ expected: 16AFKPQ input: 123__678__ABC__FGH__KLM__PQ.S.UV
27 result: 16ABC expected: 16ABC input: 123__678__ABC..FGH..KLM..PQRSTUV
28 result: 16 expected: 16 input: 123__678_.ABC._FGH__KLM__PQRSTUV
29 result: 123 expected: 123 input: 123.567.90ABCDEFGHIJKLMNOPQRSTUV
30 result: 1234567 expected: 1234567 input: 1234567.90A.CDEFGHIJKLMNOPQRSTUV
31 result: 12345678 expected: 12345678 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV
32 result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV
33 result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
34 result: 159CGHIJ expected: 159CGHIJ input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV
35 result: 159CDEFG expected: 159CDEFG input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV
36 result: 1590ABCD expected: 1590ABCD input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV
37 result: 1567890A expected: 1567890A input: 123_567890ABCDEFGHIJKLMNOPQRSTUV
38 result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
39
40
41
42 8-characters-or-less generated object names are unique.
43 </file2>
44 </verify>
45
46 </testcase>