[Rt-devel] Regression tests database initialization

Lucas F. Rosada lucasrosada at gmail.com
Thu Jun 8 22:37:12 EDT 2006


Hi, all!

Is there any special reason for the Makefile regression-reset-db task use no
password, in order to create the test database structure? If no, I've
changed it in order to ask for the database admin. password. The patch
follows:

---- patch start ----
--- Makefile.in (revisão 5352)
+++ Makefile.in (cópia de trabalho)
@@ -365,8 +365,8 @@
 # {{{ database-installation

 regression-reset-db:
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop
--dba $(DB_DBA) --dba-password '' --force
-       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init
--dba $(DB_DBA) --dba-password ''
+       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action drop
--dba $(DB_DBA) --prompt-for-dba-password --force
+       $(PERL) $(DESTDIR)/$(RT_SBIN_PATH)/rt-setup-database --action init
--dba $(DB_DBA) --prompt-for-dba-password

 initdb :: initialize-database


---- patch end ----

Thanks,

Bubble
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/rt-devel/attachments/20060608/f646591e/attachment.htm


More information about the Rt-devel mailing list