[Fusionforge-commits] r11483 - trunk/tests/func/Testing

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Nov 9 13:55:07 CET 2010


Author: aljeux
Date: 2010-11-09 13:55:07 +0100 (Tue, 09 Nov 2010)
New Revision: 11483

Modified:
   trunk/tests/func/Testing/TarSeleniumRemoteSuite.php
Log:
Install catchmail for tarball tests also

Modified: trunk/tests/func/Testing/TarSeleniumRemoteSuite.php
===================================================================
--- trunk/tests/func/Testing/TarSeleniumRemoteSuite.php	2010-11-09 11:19:02 UTC (rev 11482)
+++ trunk/tests/func/Testing/TarSeleniumRemoteSuite.php	2010-11-09 12:55:07 UTC (rev 11483)
@@ -14,6 +14,8 @@
 		system("ssh root at centos52 'tar jxf fusionforge-*.tar.bz2'");
 		system("ssh root at centos52 'cd fusionforge-*; FFORGE_RPM_REPO=http://buildbot.fusionforge.org/job/fusionforge-trunk-build-and-test-rpm/ws/build/packages/ FFORGE_DB=fforge FFORGE_USER=gforge FFORGE_ADMIN_USER=ffadmin FFORGE_ADMIN_PASSWORD=ffadmin ./install.sh centos52.local'");
 
+		// Install a fake sendmail to catch all outgoing emails.
+		system("ssh root@".HOST." 'perl -spi -e s#/usr/sbin/sendmail#/opt/tests/scripts/catch_mail.php# /etc/gforge/local.inc'");
 	}
 }
 ?>




More information about the Fusionforge-commits mailing list