[Fusionforge-commits] FusionForge branch feature/concurrent-ssh-http-for-scm updated. 5aa9253b3a6382b1b0ea3b2fea3cde9185af0edf

Roland Mas lolando at fusionforge.org
Fri Oct 17 11:34:36 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, feature/concurrent-ssh-http-for-scm has been updated
       via  5aa9253b3a6382b1b0ea3b2fea3cde9185af0edf (commit)
      from  c31ec275641456630172ccc6e29b738b751f4f98 (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.

- Log -----------------------------------------------------------------
commit 5aa9253b3a6382b1b0ea3b2fea3cde9185af0edf
Author: Roland Mas <lolando at debian.org>
Date:   Fri Oct 17 11:34:31 2014 +0200

    Trust server certificate for Git over Smart HTTP

diff --git a/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php b/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
index 01e1aa1..d187abc 100644
--- a/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
+++ b/tests/func/50_PluginsScmGit/gitSmartHTTPTest.php
@@ -53,7 +53,7 @@ class ScmGitSmartHTTPTest extends FForge_SeleniumTestCase
 
 		// Create a local clone, add stuff, push it to the repo
 		$t = exec("mktemp -d /tmp/gitTest.XXXXXX");
-		system("cd $t && git clone --quiet $p", $ret);
+		system("cd $t && GIT_SSL_NO_VERIFY=true git clone --quiet $p", $ret);
 		$this->assertEquals($ret, 0);
 
 		system("echo 'this is a simple text' > $t/projecta/mytext.txt");
@@ -62,7 +62,7 @@ class ScmGitSmartHTTPTest extends FForge_SeleniumTestCase
 		system("cd $t/projecta && git commit --quiet -a -m'Modifying file'", $ret);
 		$this->assertEquals($ret, 0);
 
-		system("cd $t/projecta && git push --quiet --all", $ret);
+		system("cd $t/projecta && GIT_SSL_NO_VERIFY=true git push --quiet --all", $ret);
 		$this->assertEquals($ret, 0);
 
 		// Check that the changes appear in gitweb

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

Summary of changes:
 tests/func/50_PluginsScmGit/gitSmartHTTPTest.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list