5 # this is hardcoded; change it if needed
10 # ----------------------------------------------------------------------
14 put
"conf/gitolite.conf", "
22 \@devs = \@dev2 \@dev4 u6
25 # intentional mis-spelling
26 - VREF/MISCOUNT/2 = \@dev2
27 - VREF/MISCOUNT/4 = \@dev4
28 - VREF/MISCOUNT/3/NEWFILES = u6
29 - VREF/MISCOUNT/6 = u6
36 CLONE u1 foo; ok; /Cloning into/
37 /You appear to have cloned an empty/
41 # VREF not called for u1
42 tc a1 a2 a3 a4 a5; ok; /aaf9e8e/
43 PUSH u1 master; ok; /new branch.*master -. master/
44 !/helper program missing/
47 # VREF is called for u2
49 PUSH u2; !ok; /helper program missing/
54 put
"../gitolite-admin/conf/gitolite.conf", "
62 \@devs = \@dev2 \@dev4 u6
65 - VREF/COUNT/2 = \@dev2
66 - VREF/COUNT/4 = \@dev4
67 - VREF/COUNT/3/NEWFILES = u6
76 PUSH u2; ok; /aaf9e8e..1f440d3.*master -. master/
79 tc b2 b3; ok; /c3397f7/
80 PUSH u2; ok; /1f440d3..c3397f7.*master -. master/
83 tc c1 c2 c3; ok; /be242d7/
84 PUSH u2; !ok; /W VREF/COUNT/2 foo u2 DENIED by VREF/COUNT/2/
85 /too many changed files in this push/
90 PUSH u4; ok; /c3397f7..be242d7.*master -. master/
93 tc d1 d2 d3 d4; ok; /88d80e2/
94 PUSH u4; ok; /be242d7..88d80e2.*master -. master/
97 tc d5 d6 d7 d8 d9; ok; /e9c60b0/
98 PUSH u4; !ok; /W VREF/COUNT/4 foo u4 DENIED by VREF/COUNT/4/
99 /too many changed files in this push/
104 PUSH u1; ok; /88d80e2..e9c60b0.*master -. master/
110 PUSH u6; ok; /e9c60b0..2773f0a.*master -. master/
113 # u6 updates 7 old files
115 tc d1 d2 d3 d4 d5 d6 d7
117 PUSH u6; !ok; /W VREF/COUNT/6 foo u6 DENIED by VREF/COUNT/6/
118 /too many changed files in this push/
121 reset-h six; ok; /HEAD is now at 2773f0a/
123 # u6 4 new 2 old files
127 PUSH u6; !ok; /W VREF/COUNT/3/NEWFILES foo u6 DENIED by VREF/COUNT/3/NEWFILES/
128 /too many new files in this push/
131 reset-h six; ok; /HEAD is now at 2773f0a/
133 # u6 3 new 3 old files
137 PUSH u6; ok; /2773f0a..e47ff5d.*master -. master/