2013-01-03 03:12:15 +08:00
|
|
|
<testcase>
|
2014-04-03 17:06:24 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
build system
|
2014-04-03 17:46:13 +08:00
|
|
|
source analysis
|
2014-04-03 17:06:24 +08:00
|
|
|
</keywords>
|
|
|
|
</info>
|
2014-04-03 17:46:13 +08:00
|
|
|
|
2013-01-03 03:12:15 +08:00
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
10 chars object name generation testing
|
|
|
|
</name>
|
|
|
|
<command option="no-output,no-include" type="shell">
|
2013-01-03 19:40:55 +08:00
|
|
|
%SRCDIR/../lib/objnames-test10.sh %SRCDIR
|
2013-01-03 03:12:15 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2013-03-19 03:44:46 +08:00
|
|
|
<file1 name="log/stderr1221" mode="text">
|
2013-01-03 03:12:15 +08:00
|
|
|
</file1>
|
2014-02-01 20:49:58 +08:00
|
|
|
<file2 name="log/stdout1221">
|
2013-01-03 03:12:15 +08:00
|
|
|
Testing curl_10char_object_name...
|
|
|
|
|
|
|
|
result: 16AFKPQRST expected: 16AFKPQRST input: 123__678__ABC__FGH__KLM__PQRSTUV
|
|
|
|
result: 16AFKPQ expected: 16AFKPQ input: 123__678__ABC__FGH__KLM__PQ.S.UV
|
|
|
|
result: 16ABC expected: 16ABC input: 123__678__ABC..FGH..KLM..PQRSTUV
|
|
|
|
result: 16 expected: 16 input: 123__678_.ABC._FGH__KLM__PQRSTUV
|
|
|
|
result: 123 expected: 123 input: 123.567.90ABCDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 1234567 expected: 1234567 input: 1234567.90A.CDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 1234567890 expected: 1234567890 input: 1234567890.BCD.FGHIJKLMNOPQRSTUV
|
|
|
|
result: 1470AB expected: 1470AB input: 12=45-78+0AB.DE.GHIJKLMNOPQRSTUV
|
|
|
|
result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 159CGHIJKL expected: 159CGHIJKL input: 123_567_90A_CDE_GHIJKLMNOPQRSTUV
|
|
|
|
result: 159CDEFGHI expected: 159CDEFGHI input: 123_567_90A_CDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 1590ABCDEF expected: 1590ABCDEF input: 123_567_90ABCDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 1567890ABC expected: 1567890ABC input: 123_567890ABCDEFGHIJKLMNOPQRSTUV
|
|
|
|
result: 1234567890 expected: 1234567890 input: 1234567890ABCDEFGHIJKLMNOPQRSTUV
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10-characters-or-less generated object names are unique.
|
|
|
|
</file2>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|