[Fusionforge-commits] r10255 - trunk/tests/func

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Jul 16 16:38:11 CEST 2010


Author: lolando
Date: 2010-07-16 16:38:11 +0200 (Fri, 16 Jul 2010)
New Revision: 10255

Modified:
   trunk/tests/func/db_reload.php
Log:
Don't hide database install/upgrade logs (temporary measure for debugging)

Modified: trunk/tests/func/db_reload.php
===================================================================
--- trunk/tests/func/db_reload.php	2010-07-16 14:19:46 UTC (rev 10254)
+++ trunk/tests/func/db_reload.php	2010-07-16 14:38:11 UTC (rev 10255)
@@ -84,8 +84,8 @@
 	system("service postgresql restart 2>&1 >/dev/null");
 	system("su - postgres -c 'dropdb -q ".DB_NAME."'");
 	system("su - postgres -c 'createdb -q --encoding UNICODE ".DB_NAME."'");
-	system("psql -q -U".DB_USER." ".DB_NAME." -f ".dirname(dirname(dirname(__FILE__)))."/src/db/gforge.sql &>/tmp/gforge-import.log");
-	system("php ".dirname(dirname(dirname(__FILE__)))."/src/db/upgrade-db.php &>/tmp/gforge-upgrade-db.log");
+	system("psql -q -U".DB_USER." ".DB_NAME." -f ".dirname(dirname(dirname(__FILE__)))."/src/db/gforge.sql");
+	system("php ".dirname(dirname(dirname(__FILE__)))."/src/db/upgrade-db.php");
 } else {
 	print "Unsupported database type: ".DB_TYPE. "\n";
 	exit;




More information about the Fusionforge-commits mailing list