a0e3d74b7aa9d9aaa4bb953ae5a6097fa1889273
[platform/upstream/curl.git] / tests / data / test1221
1 <testcase>
2 #
3 # Client-side
4 <client>
5 <server>
6 none
7 </server>
8
9 <name>
10 10 chars object name generation testing
11 </name>
12 <command option="no-output,no-include" type="shell">
13 %SRCDIR/../lib/objnames-test10.sh %SRCDIR
14 </command>
15 </client>
16
17 #
18 # Verify data after the test has been "shot"
19 <verify>
20 <file1 name="log/stderr1221" mode="text">
21 </file1>
22 <file2 name="log/stdout1221" mode="text">
23 Testing curl_10char_object_name...
24
25 result: 16AFKPQRST expected: 16AFKPQRST 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: 1234567890 expected: 1234567890 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV
32 result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV
33 result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
34 result: 159CGHIJKL expected: 159CGHIJKL input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV
35 result: 159CDEFGHI expected: 159CDEFGHI input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV
36 result: 1590ABCDEF expected: 1590ABCDEF input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV
37 result: 1567890ABC expected: 1567890ABC input: 123_567890ABCDEFGHIJKLMNOPQRSTUV
38 result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
39
40
41
42 10-characters-or-less generated object names are unique.
43 </file2>
44 </verify>
45
46 </testcase>