[Fusionforge-commits] r12210 - branches/Branch_5_1/tests/func

Olivier Berger olberger at libremir.placard.fr.eu.org
Thu Feb 10 13:56:28 CET 2011


Author: olberger
Date: 2011-02-10 13:56:26 +0100 (Thu, 10 Feb 2011)
New Revision: 12210

Modified:
   branches/Branch_5_1/tests/func/db_reload.sh
Log:
Add a bit more verbose messages about what is done

Modified: branches/Branch_5_1/tests/func/db_reload.sh
===================================================================
--- branches/Branch_5_1/tests/func/db_reload.sh	2011-02-10 12:55:54 UTC (rev 12209)
+++ branches/Branch_5_1/tests/func/db_reload.sh	2011-02-10 12:56:26 UTC (rev 12210)
@@ -1,7 +1,11 @@
 #! /bin/sh
 
+echo "Cleaning up the database"
 invoke-rc.d apache2 stop
+
 invoke-rc.d postgresql restart
-su - postgres -c "dropdb gforge"
+su - postgres -c "dropdb -e gforge"
+echo "Executing: pg_restore -C -d template1 < /root/dump"
 su - postgres -c "pg_restore -C -d template1" < /root/dump
+
 invoke-rc.d apache2 start




More information about the Fusionforge-commits mailing list