1 <testcase> 2 <info> 3 <keywords> 4 build system 5 source analysis 6 </keywords> 7 </info> 8 9 # 10 # Client-side 11 <client> 12 <server> 13 none 14 </server> 15 16 <name> 17 10 chars object name generation testing 18 </name> 19 <command option="no-output,no-include" type="shell"> 20 %SRCDIR/../lib/objnames-test10.sh %SRCDIR 21 </command> 22 </client> 23 24 # 25 # Verify data after the test has been "shot" 26 <verify> 27 <file1 name="log/stderr1221" mode="text"> 28 </file1> 29 <file2 name="log/stdout1221"> 30 Testing curl_10char_object_name... 31 32 result: 16AFKPQRST expected: 16AFKPQRST input: 123__678__ABC__FGH__KLM__PQRSTUV 33 result: 16AFKPQ expected: 16AFKPQ input: 123__678__ABC__FGH__KLM__PQ.S.UV 34 result: 16ABC expected: 16ABC input: 123__678__ABC..FGH..KLM..PQRSTUV 35 result: 16 expected: 16 input: 123__678_.ABC._FGH__KLM__PQRSTUV 36 result: 123 expected: 123 input: 123.567.90ABCDEFGHIJKLMNOPQRSTUV 37 result: 1234567 expected: 1234567 input: 1234567.90A.CDEFGHIJKLMNOPQRSTUV 38 result: 1234567890 expected: 1234567890 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV 39 result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV 40 result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV 41 result: 159CGHIJKL expected: 159CGHIJKL input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV 42 result: 159CDEFGHI expected: 159CDEFGHI input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV 43 result: 1590ABCDEF expected: 1590ABCDEF input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV 44 result: 1567890ABC expected: 1567890ABC input: 123_567890ABCDEFGHIJKLMNOPQRSTUV 45 result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV 46 47 48 49 10-characters-or-less generated object names are unique. 50 </file2> 51 </verify> 52 53 </testcase> 54