test1221 1.5 KB

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