5 # this is hardcoded; change it if needed
10 # ----------------------------------------------------------------------
19 @gfoo = foo/CREATOR/a[0-9][0-9]
27 try
"ADMIN_PUSH set1; !/FATAL/" or die text
();
33 glt clone u1 file:///foo/u1/a01; !ok; /R any foo/u1/a01 u1 DENIED by fallthru/
36 glt clone u2 file:///foo/u2/a02; !ok; /R any foo/u2/a02 u2 DENIED by fallthru/
38 # u4 tries to create u2 repo
39 glt clone u4 file:///foo/u2/a12; !ok; /R any foo/u2/a12 u4 DENIED by fallthru/
41 # line anchored regexes
42 glt clone u4 file:///foo/u4/a1234; !ok; /R any foo/u4/a1234 u4 DENIED by fallthru/
44 # u4 tries to create his own repo
45 glt clone u4 file:///foo/u4/a12; ok; /Initialized empty Git repository in .*/foo/u4/a12.git//
46 /warning: You appear to have cloned an empty repository./
50 tc n-770 n-771 n-772 n-773; ok
51 glt push u4 origin master; ok; /To file:///foo/u4/a12/
52 /\\* \\[new branch\\] master -> master/
56 glt clone u1 file:///foo/u4/a12 u1a12; ok; /Cloning into 'u1a12'.../
61 glt push u1; !ok; /W any foo/u4/a12 u1 DENIED by fallthru/
65 glt clone u2 file:///foo/u4/a12 u2a12; ok; /Cloning into 'u2a12'.../
70 glt push u2; ok; /To file:///foo/u4/a12/
74 glt push u2 -f origin master^:master; !ok; /\\+ refs/heads/master foo/u4/a12 u2 DENIED by fallthru/
79 glt pull u4; ok; /Fast-forward/
80 /From file:///foo/u4/a12/
81 /master -> origin/master/
84 git reset --hard HEAD^; ok
85 glt push u4 -f; ok; /To file:///foo/u4/a12/
86 /\\+ .* master -> master \\(forced update\\)/
90 glt clone u5 file:///foo/u4/a12 u5a12; !ok; /R any foo/u4/a12 u5 DENIED by fallthru/
93 glt perms u4 foo/u4/a12 + READERS u5
94 glt perms u4 foo/u4/a12 + WRITERS u6
97 glt perms u4 foo/u4/a12 -l
106 glt clone u5 file:///foo/u4/a12 u5a12; ok; /Cloning into 'u5a12'.../
111 glt push u5; !ok; /W any foo/u4/a12 u5 DENIED by fallthru/
115 glt clone u6 file:///foo/u4/a12 u6a12; ok; /Cloning into 'u6a12'.../
120 glt push u6 file:///foo/u4/a12; ok; /To file:///foo/u4/a12/
124 glt push u6 -f file:///foo/u4/a12 master^:master
125 !ok; /\\+ refs/heads/master foo/u4/a12 u6 DENIED by fallthru/