test1221 1.6 KB

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