lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | 8 chars object name generation testing |
| 18 | </name> |
| 19 | <command option="no-output,no-include" type="shell"> |
| 20 | %SRCDIR/../lib/objnames-test08.sh %SRCDIR |
| 21 | </command> |
| 22 | </client> |
| 23 | |
| 24 | # |
| 25 | # Verify data after the test has been "shot" |
| 26 | <verify> |
| 27 | <file1 name="log/stderr1222"> |
| 28 | </file1> |
| 29 | <file2 name="log/stdout1222"> |
| 30 | Testing curl_8char_object_name... |
| 31 | |
| 32 | result: 16AFKPQR expected: 16AFKPQR 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: 12345678 expected: 12345678 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV |
| 39 | result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV |
| 40 | result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV |
| 41 | result: 159CGHIJ expected: 159CGHIJ input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV |
| 42 | result: 159CDEFG expected: 159CDEFG input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV |
| 43 | result: 1590ABCD expected: 1590ABCD input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV |
| 44 | result: 1567890A expected: 1567890A input: 123_567890ABCDEFGHIJKLMNOPQRSTUV |
| 45 | result: 12345678 expected: 12345678 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV |
| 46 | |
| 47 | |
| 48 | |
| 49 | 8-characters-or-less generated object names are unique. |
| 50 | </file2> |
| 51 | </verify> |
| 52 | |
| 53 | </testcase> |