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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Oct 3 19:05:53 CEST 2010


Author: aljeux
Date: 2010-10-03 19:05:53 +0200 (Sun, 03 Oct 2010)
New Revision: 10826

Modified:
   trunk/tests/func/Testing/RPMSeleniumRemoteSuite.php
Log:
Tests: clean commented code, caching now performed by a squid cache on buildbot

Modified: trunk/tests/func/Testing/RPMSeleniumRemoteSuite.php
===================================================================
--- trunk/tests/func/Testing/RPMSeleniumRemoteSuite.php	2010-10-03 16:51:32 UTC (rev 10825)
+++ trunk/tests/func/Testing/RPMSeleniumRemoteSuite.php	2010-10-03 17:05:53 UTC (rev 10826)
@@ -19,18 +19,9 @@
 			system("ssh root@".HOST." 'cd /etc/yum.repos.d/; wget ".getenv('FFORGE_RPM_REPO')."/fusionforge.repo'");
 		}
 
-		# Prefill yum cache to reduce real downloads.
-		//system("scp -rp ~/yum-cache-prefill/* root@".HOST.":/var/cache/yum/");
-		
-		# Enable yum cache to get back the cache for next run.
-		//sed -i 's/keepcache=0/keepcache=1/' /var/lib/vz/private/$i/etc/yum.conf 
-
 		sleep(5);
 		
 		system("ssh root@".HOST." 'yum install -y fusionforge fusionforge-scmsvn fusionforge-online_help fusionforge-extratabs fusionforge-ldapextauth fusionforge-scmgit fusionforge-blocks'");
-
-		//cp -rp /var/lib/vz/private/$i/var/cache/yum/* ~/yum-cache-prefill
-		//rm -fr ~/yum-cache-prefill/fusionforge
 	}
 }
 ?>




More information about the Fusionforge-commits mailing list