# Test Data File for Scripted Tests. # # Each test is a one-line entry of the form: # # <TestGroup>|<TestScript>|<ExitCode>|[<Host>:]<TestLog>|<ExpectedStringRegex>|<Comments> # # Where: # <TestGroup> is an arbitrary name used to apply to a group of tests, allowing that group # of tests to be executed independently of other configured tests. By default, all # tests are executed; call run_scripted_tests.sh with '-g <TestGroup>' to indicate that the # specified group of tests are to be run. This is intended to speed up interactive testing # for a focused group of tests. # # <TestScript> is a script to call. It can setup arbitrarily sophisticated # tests. The script should accept no parameters. It should display some # indication of the scenario being setup to test. # The value of TestScript should be of the form: # # test_script-<TestDesc>.sh # # where <TestDesc> should contain letters, numbers, and underscores, but not # dash or other special characters. For example, it could be: # test_script-recover_correct_ckp_1.sh. The _1 numeric suffix can be used # to group together a family of related tests with TestDesc values that # vary only by the suffix. Scripts must exist in the test directory in a # Battle School Lab Environment, i.e. /p4/sdp/test/bsw. # # The <TestScript> value can also be the special value 'no_script', meaning that no # test script is executed. This allows additional checks of logs to be done based # on the execution of the most recent executed test. # # <ExitCode> is the expected exit code, which must be a whole number (integer 0 or # greater). If the actual test exist code is not match, the test is deemed to have # failed. A special value of 'U' meaning Undefined can be given rather than a # whole number to indicate that any exit code is accepted. (The test may still fail # depending on the <Output>). A special value of 'N' can be given to indicate that # any non-zero exit code is accepted. # # If <TestScript> is set to 'no_script', the exit code is ignored, so fill a '-' # in for the <ExitCode> field. # # <TestLog> Specify the absolute path to the log containing the expected string, # or the special value 'output' to scan the output of the command rather than # a log file. The <TestLost> can also be of the form <Host>:<Log> to indicate # the expected string should be checked on the specified host. For example, # a value of p4-04:/p4/1/logs/recreate_offline_db.og will check that # log on the p4-04 host. # # The special value 'output' cannot be used if TestScript is set to 'no_script'. # # <ExpectedStringRegex> is a string of text expected of the executed command in # either the output or a given logfile. The string can be a regular expression. # # <Comments> are short comments for the human reviewer of the test, describing what # is expected in the output, what is being tested, etc. # <TestGroup>|<TestScript>|<ExitCode>|[<Host>:]<TestLog>|<ExpectedStringRegex>|<Comments> #------------------------------------------------------------------------------ ScriptedTestGroup-1|test_script-1.sh|N|/tmp/test_script-1.log|Hello|Hello Script.
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 33565 | Claude (AI Agent by Anthropic) | Initial population of r26.1.0 from main. | ||
| //p4-sdp/main/test/bsw/t2/scripted_tests.cfg | |||||
| #1 | 33433 | Claude (AI Agent by Anthropic) |
Copy Up from //p4-sdp/dev into //p4-sdp/main. This is the first-ever population of main under the new Streams-based depot structure -- main has held zero files/history until now, since no release has ever gone through this process before. 463 files, covering the entire 2026.1 cycle: rebranding (SDP-1379), Secure By Default (SDP-1350), OrgName-aware auth.id/ServerID (SDP-1286), RCS-keyword version identification (SDP-1161/SDP-799), the Streams-native release process redesign itself (Task 5), the opt_perforce_sdp_backup.sh false-error fix, the P4D 2026.1 test-suite targeting, refreshed P4*.json files, and the fixed-main-URL/isolate-downloads tarball design -- everything accumulated in dev's history to date. Isolated paths (ai_dev_support/, Version, doc/*.html, doc/*.pdf, doc/gen/*.man.txt, doc/gen/sdp_install.cfg, Unsupported/doc/*.html, Unsupported/doc/*.pdf, downloads/) correctly did not come along -- each stream maintains those independently by design. Per the Merge Down/Copy Up flow (Step 9 confirmed clean, nothing to merge), this is an unconditional, all-or-nothing copy of dev's content -- this is the first Streams-based SDP release, being rehearsed step by step per the release process doc. Agent: Claude Code, Model: Claude Sonnet 5 (claude-sonnet-5), operating as bot_Claude_Anthropic. |
||
| //p4-sdp/dev/test/bsw/t2/scripted_tests.cfg | |||||
| #2 | 33409 | Claude (AI Agent by Anthropic) |
Copy Up from //p4-sdp/dev_rebrand into //p4-sdp/dev. This is the first promotion of dev_rebrand's work into dev since dev_rebrand was created (2025-05-24) -- 303 files, covering the entire 2026.1 rebranding effort (SDP-1379), the Secure By Default adaptation (SDP-1350), OrgName-aware auth.id/ServerID (SDP-1286), RCS-keyword version identification (SDP-1161/SDP-799), and the Streams-native release process redesign (Task 5) done this session, plus everything else accumulated in dev_rebrand's history before this session. Per the Merge Down/Copy Up flow, this is intentionally a full, unconditional blast-replace of dev's content from dev_rebrand -- all selectivity/care happened in the preceding Merge Down (dev -> dev_rebrand, changes 33407-33408), which absorbed Robert Cowham's independent dev-side work first so nothing of his is lost by this Copy Up. Two files are worth calling out since they might look alarming in isolation: - tools/mdcu.sh is deleted -- intentional, retired this session in favor of the two direct Streams commands now documented in doc/ReleaseProcessOverview.md. - tools/ReleaseProcessOverview.md is deleted -- this is a stale relic of a file move dev_rebrand made back in 2025-05-24 (tools/ -> doc/) that was never previously propagated to dev; the current, fully-rewritten doc/ReleaseProcessOverview.md is added/updated correctly by this same changelist. |
||
| #1 | 31397 | C. Thomas Tyler | Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368. | ||
| //guest/perforce_software/sdp/dev/test/bsw/t2/scripted_tests.cfg | |||||
| #1 | 30757 | C. Thomas Tyler | Added test suite for scripted tests. | ||