[Fusionforge-commits] FusionForge branch master updated. 36c9b10c7049b2e2128a38c894c181510236efc3

Roland Mas lolando at fusionforge.org
Mon Apr 28 13:33:14 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, master has been updated
       via  36c9b10c7049b2e2128a38c894c181510236efc3 (commit)
      from  7301ba1947bae713476a0066a626d8ee9fef9a11 (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 36c9b10c7049b2e2128a38c894c181510236efc3
Author: Roland Mas <lolando at debian.org>
Date:   Mon Apr 28 13:33:08 2014 +0200

    Less verbose

diff --git a/tests/func/Site/sshTest.php b/tests/func/Site/sshTest.php
index fb65c6e..6230da7 100644
--- a/tests/func/Site/sshTest.php
+++ b/tests/func/Site/sshTest.php
@@ -34,10 +34,16 @@ class SSHTest extends FForge_SeleniumTestCase
 		$this->cron("homedirs.php");
 		$this->cron("ssh_create.php");
 
-		system("echo 'Trying SSH' 1>&2", $ret);
-		system("ssh -v ".FORGE_ADMIN_USERNAME."@".HOST." true", $ret);
+		$verbose = 0;
+		if ($verbose) {
+			system("echo 'Trying SSH' 1>&2", $ret);
+			$v = "-v";
+		}
+		system("ssh $v ".FORGE_ADMIN_USERNAME."@".HOST." true", $ret);
 		$this->assertEquals($ret, 0);
-		system("echo 'End of SSH run' 1>&2", $ret);
+		if ($verbose) {
+			system("echo 'End of SSH run' 1>&2", $ret);
+		}
 	}
 
 	/**

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

Summary of changes:
 tests/func/Site/sshTest.php |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list