# The one-line entries in this file are in one of two formats: # # TestFile|ExpectedExitCode|StringExpectedInOutput|Comments # # or: # # TestFile|ExpectedExitCode|CBDLOG:StringExpectedInCBDLog|Comments bit.1.txt|0|CBDLOG:Ignoring classic workspace bruno_ws|Sync classic workspace bruno_ws. # Test 2 is a repro of Pete Hopkins test case where a sync got a bogus "out of CBD scope" indication. # The workspace had the Host option defined, as does the workspace referenced in bit.2.txt. The sync # was done with a 'narrow' path, i.e. below the root of the workpace (since syncs from the workspace root # are handled differently. # bit.2.txt|0|CBDLOG:Rewrite: arg: C:/p4/Jam/src/...#head|Repro of Pete's test case, workspace with Host field set. bit.3.txt|0|CBDLOG:C:/p4/Jam/src/Build.com#head|Force sync of one file. Repro of Magesh's force sync "One for All" test case. bit.4.txt|0|CBDLOG:C:/p4/Jam/src/Build.com@Jam-2.0.1.0|Force sync of one file to a label. bit.5.txt|0|CBDLOG:c:/p4/CT/gwt/src/com/google/gwt/sample/dynatable/public/DynaTable.html@12050|Sync from a locked workspace of one file to a CBD revision. bit.6.txt|0|CBDLOG:Ignoring CBD rules in favor of explicit revision specifier for path|Sync from a locked workspace of one file to a specified revision. bit.7.txt|0|CBDLOG:c:/p4/CT/gwt/src/com/google/gwt/sample/dynatable/public/DynaTable.html@12050|Sync without vspec, expecting @12050. bit.8.txt|0|CBDLOG:SchoolCalendarServiceImpl.java@12050|Sync using simple relative path to get CBD revision. bit.9.txt|0|../DynaTable.gwt.xml@12050|Sync using complex relative path to get CBD revision. bit.10.txt|0|//gwt-streams/release1.5/...@12050|Sync from root of Linux workspace w/ WSROOT/..., expecting global CBD sync (job000326). bit.11.txt|0|//gwt-streams/release1.5/...@12050|Sync from root of Linux workspace w/ ..., expecting global CBD sync. bit.12.txt|0|["CBD sync ['-n']", '...@12050']|Sync from root/gwt <subdir> of Linux workspace w/..., expecting narrow CBD sync for gwt component (job000327). bit.13.txt|0|["CBD sync ['-n']", '...@99999999999999']|Sync from root/gwt <subdir> of Linux workspace w/...@99999999999999, expecting narrow CBD sync for gwt component (job000327). bit.14.txt|0|CBDLOG://gwt-streams/release1.5/...|Sync from root/gwt <subdir> of Windows workspace w/...@99999999999999, expecting narrow CBD sync for gwt component (job000327). bit.15.txt|0|DynaTable.gwt.xml@12050|Case of the drive letter in Root field of user workspace does not match CWD. (job000330) bit.16.txt|1|ERROR: CBD was not able to translate path|Negative test: Sync from bogus dir outside workspace, expecting reasonable error message.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 15361 | C. Thomas Tyler |
Routine Merge Down of CBD to ntx64 from main using: p4 merge -b perforce_software-cbd-ntx64 |
||
#5 | 15283 | C. Thomas Tyler |
Routine Merge Down to ntx64 from main using: p4 -s merge -b perforce_software-cbd-ntx64 |
||
#4 | 15168 | C. Thomas Tyler | Clarified file format. | ||
#3 | 15159 | C. Thomas Tyler |
Routine merge-down to ntx64 from main for CBD, with: p4 merge -b perforce_software-cbd-ntx64 |
||
#2 | 15017 | C. Thomas Tyler | Fixed doc typo. | ||
#1 | 15010 | C. Thomas Tyler | Merged CBD updates to ntx64 branch from main. | ||
//guest/perforce_software/cbd/main/test/shared/bit.cfg | |||||
#1 | 15009 | C. Thomas Tyler | Promoted CBD development work to main from dev. | ||
//guest/perforce_software/cbd/dev/test/shared/bit.cfg | |||||
#1 | 14907 | C. Thomas Tyler |
Moved test data files into 'shared' folder to make them available on the 'helix-01' text VM, and tweaked test_cbd.sh to reference them there. |
||
//guest/perforce_software/cbd/dev/test/bit.cfg | |||||
#1 | 14844 | C. Thomas Tyler |
Overhauled regression test suite. Added various command line tests. Enhanced test suite to allow entries in the test data file to specify alternate user and workspaces (differing from defaults defined in the test test configuration files, test_cbd.*.cfg) for certain tests. Added new testing method, broker input testing, to augment existing command line testing. This test method simulates having 'p4d' call the CBD broker sync script by feeding handcrafted/simulated broker input files to the CBD engine, simulating the way p4d uses stdin to feed the broker parameters when a user makes a request. This enables more diverse testing and better simulation of Window and P4V-side testing. |