# The one-line entries in this file are in one of two formats: # # <TestScript>.sh|<ExpectedExitCode>|<StringExpectedInOutput>|<Comments> # # or: # # <TestScript.sh>|<ExpectedExitCode>|<Type>LOG:<StringExpectedInLog>|<Comments> # <Type> is one of: # CBD - The cbd.log # SSTU - SSTemplateUpate.log # SSUT - SSUpdateTemplate.log # Test scripts are passed the following parameters: # $1 - TestID # $2 - P4BIN - the 'p4' executable to use. # $3 - P4PORT - P4PORT value, to be used in the script. # $4 - P4USER - Default P4USER value; may be ignored in the script. # $5 - P4CLIENT - Default P4CLIENT value; may be ignored in the script. # Scripts must use $1 and $2; other parameters can be ignored. # # Test scripts exit with a 0 or 1 as normal exit codes, either of # which may be interpreted as successful based on the expected exit # code defined below. Test scripts exit with 2 to indicate an # unexpected failure (and also result in test failure). scripted_test_1.sh|1|Wrong number of words for field 'Paths'.|Attempt to submit an invalid *.cbdsst file. scripted_test_2.sh|0|SSTULOG:p4 key cbd_stream_jam_rel2.1_path0 //jam/rel2.1/...|Test handling of excess whitespece in *.cbdsst file (job000247). scripted_test_3.sh|1|This could happen if no changes were made|Test attempted submit of unmodified *.cbdsst file.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 15271 | C. Thomas Tyler | Scripted tests 1-3 now works correctly. | ||
#2 | 15258 | C. Thomas Tyler |
Added support for executing scripted mini-tests, and added some tests and a test config file for managing scripted tests. Modified Triggers table to run trigger as both change-content and change-commit trigger. Added 'Stream:' field with macro to generated *.cbdsst files. |
||
#1 | 15171 | C. Thomas Tyler | Prep to add new scripted tests to test submits. |