[ARVADOS] updated: 7a029b844a155d7b90ccfbf4b81f80c886770591

git at public.curoverse.com git at public.curoverse.com
Tue Sep 22 10:14:51 EDT 2015


Summary of changes:
 services/arv-git-httpd/gitolite_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  7a029b844a155d7b90ccfbf4b81f80c886770591 (commit)
       via  61dbb7823ba00e7ae677956dab7994669ceff16d (commit)
      from  d37d7308827b4cc64272b5cc71f2adc4faf895a3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7a029b844a155d7b90ccfbf4b81f80c886770591
Merge: d37d730 61dbb78
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Sep 22 10:14:20 2015 -0400

    Merge branch '7309-git-push-default' closes #7309


commit 61dbb7823ba00e7ae677956dab7994669ceff16d
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Sep 22 10:14:06 2015 -0400

    7309: Push branches explicitly in tests instead of relying on `git config push.default`

diff --git a/services/arv-git-httpd/gitolite_test.go b/services/arv-git-httpd/gitolite_test.go
index 8458730..aa71026 100644
--- a/services/arv-git-httpd/gitolite_test.go
+++ b/services/arv-git-httpd/gitolite_test.go
@@ -70,7 +70,7 @@ func (s *GitoliteSuite) TestFetchUnreadable(c *check.C) {
 }
 
 func (s *GitoliteSuite) TestPush(c *check.C) {
-	err := s.RunGit(c, activeToken, "push", "active/foo.git")
+	err := s.RunGit(c, activeToken, "push", "active/foo.git", "master:gitolite-push")
 	c.Check(err, check.Equals, nil)
 
 	// Check that the commit hash appears in the gitolite log, as
@@ -88,6 +88,6 @@ func (s *GitoliteSuite) TestPush(c *check.C) {
 }
 
 func (s *GitoliteSuite) TestPushUnwritable(c *check.C) {
-	err := s.RunGit(c, spectatorToken, "push", "active/foo.git")
+	err := s.RunGit(c, spectatorToken, "push", "active/foo.git", "master:gitolite-push-fail")
 	c.Check(err, check.ErrorMatches, `.*HTTP code = 403.*`)
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list