Regression tests database initialization

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

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:

The problem there is that here at BPS, we tend to run those tests dozens
of times per day when developing the software. They’re really intended
for developer systems. Having to type that password over and over would
be fairly painful.

Jesse