diff options
author | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-03-20 16:15:55 +0530 |
---|---|---|
committer | Sitaram Chamarty <sitaram@atc.tcs.com> | 2012-03-24 10:30:45 +0530 |
commit | 1ec8be663ea5a16b6c121d8a859279168735b6b8 (patch) | |
tree | d9ff69626ed166037e915c17153f4975ef3d1d6d /t/vrefs-2.t | |
parent | oops; the $repo argument to PRE_ and POST_GIT triggers was wrong! (diff) | |
download | gitolite-gentoo-1ec8be663ea5a16b6c121d8a859279168735b6b8.tar.gz gitolite-gentoo-1ec8be663ea5a16b6c121d8a859279168735b6b8.tar.bz2 gitolite-gentoo-1ec8be663ea5a16b6c121d8a859279168735b6b8.zip |
(test infrastructure) CLONE/PUSH macros redefined
Diffstat (limited to 't/vrefs-2.t')
-rwxr-xr-x | t/vrefs-2.t | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/t/vrefs-2.t b/t/vrefs-2.t index b44af42..eb9d43a 100755 --- a/t/vrefs-2.t +++ b/t/vrefs-2.t @@ -33,7 +33,7 @@ try " cd .. # setup ls -al foo; !ok; /cannot access foo: No such file or directory/ - CLONE u1 file://foo; ok; /Cloning into/ + CLONE u1 foo; ok; /Cloning into/ /You appear to have cloned an empty/ cd foo; ok ls -Al; ok; /\.git/ @@ -41,16 +41,16 @@ try " # u1 push 15 new files tc a b c d e f g h i j k l m n o ok; /d8c0392/ - PUSH u1 origin master; ok; /new branch.*master -. master/ + PUSH u1 master; ok; /new branch.*master -. master/ # u2 push 2 new 10 old without signoff tc a b c d e f g h i j u2a u2b ok; /6787ac9/ - PUSH u2 origin; ok; /d8c0392..6787ac9.*master -. master/ + PUSH u2; ok; /d8c0392..6787ac9.*master -. master/ # u2 fail to push 3 new files without signoff tc u2c u2d u2e; ok; /a74562b/ - PUSH u2 origin; !ok; /W VREF/COUNT/2/NO_SIGNOFF foo u2 DENIED by VREF/COUNT/2/NO_SIGNOFF/ + PUSH u2; !ok; /W VREF/COUNT/2/NO_SIGNOFF foo u2 DENIED by VREF/COUNT/2/NO_SIGNOFF/ /top commit message should include the text .3 new files signed-off by: tester.example.com./ /hook declined/ /remote rejected/ @@ -59,16 +59,16 @@ try " ok; /8dd31aa/ git commit --allow-empty -m '15 new files signed-off by: tester\@example.com' ok; /.master 6126489. 15 new files signed-off by: tester.example.com/ - PUSH u2 origin; ok; /6787ac9..6126489.*master -. master/ + PUSH u2; ok; /6787ac9..6126489.*master -. master/ # u4 push 2 new 10 old files without signoff tc u4a u4b a b c d e f g h i j ok; /76c5593/ - PUSH u4 origin; ok; /6126489..76c5593.*master -. master/ + PUSH u4; ok; /6126489..76c5593.*master -. master/ # u4 fail push 3 new files withoug signoff tc u4c u4d u4e; ok; /2a84398/ - PUSH u4 origin; !ok; /W VREF/COUNT/2/NO_SIGNOFF foo u4 DENIED by VREF/COUNT/2/NO_SIGNOFF/ + PUSH u4; !ok; /W VREF/COUNT/2/NO_SIGNOFF foo u4 DENIED by VREF/COUNT/2/NO_SIGNOFF/ /top commit message should include the text .3 new files signed-off by: tester.example.com./ /hook declined/ /remote rejected/ @@ -78,14 +78,14 @@ try " ok; /09b646a/ git commit --allow-empty -m '10 new files signed-off by: tester\@example.com' ok; /.master 47f84b0. 10 new files signed-off by: tester.example.com/ - PUSH u4 origin; ok; /76c5593..47f84b0.*master -. master/ + PUSH u4; ok; /76c5593..47f84b0.*master -. master/ # u4 fail push 11 new files even with signoff tc u4ab u4ac u4ad u4ae u4af u4ag u4ah u4ai u4aj u4ak u4al ok; /90e7344/ git commit --allow-empty -m '11 new files signed-off by: tester\@example.com' ok; /.master 1f36537. 11 new files signed-off by: tester.example.com/ - PUSH u4 origin; !ok; /W VREF/COUNT/10/NEWFILES foo u4 DENIED by VREF/COUNT/10/NEWFILES/ + PUSH u4; !ok; /W VREF/COUNT/10/NEWFILES foo u4 DENIED by VREF/COUNT/10/NEWFILES/ /too many new files in this push/ /hook declined/ /remote rejected/ @@ -94,7 +94,7 @@ try " glt fetch u1 origin; ok; reset-h origin/master; ok; tc not-really.java; ok; /0f88b2e/ - PUSH u4 origin; ok; /47f84b0..0f88b2e.*master -. master/ + PUSH u4; ok; /47f84b0..0f88b2e.*master -. master/ "; put "|cat >> not-really.java", " @@ -103,7 +103,7 @@ put "|cat >> not-really.java", " try " commit -am pbc; ok; /b2df6ef/ - PUSH u4 origin; !ok; /W VREF/FILETYPE/AUTOGENERATED foo u4 DENIED by VREF/FILETYPE/AUTOGENERATED/ + PUSH u4; !ok; /W VREF/FILETYPE/AUTOGENERATED foo u4 DENIED by VREF/FILETYPE/AUTOGENERATED/ /hook declined/ /remote rejected/ "; |