[rt-users] s/mime

Matthias Henze lists at mhcsoftware.de
Tue Jul 29 08:23:27 EDT 2014


Am 28.07.2014 um 22:57 schrieb Alex Vandiver:
> What version of MIME::Parser?  You can check by running
>     perl -MMIME::Parser\ 99

root at rt:~# perl -MMIME::Parser\ 99
MIME::Parser version 99 required--this is only version 5.505.
BEGIN failed--compilation aborted.


> 
> Needless to say, local tests don't show doubled newlines, so determining
> a way to replicate this for us would be quite useful.
> 
> It might be instructive to run RT's test suite and see if that passes
> for you.  You'll need to re-run configure with --enable-developer, which

did this:

root at rt:/tmp/rt-4.2.6# ./configure --with-web-user=www-data
--with-web-group=www-data --enable-graphviz --enable-gd --enable-smime
--with-db-dba=postgres  --with-db-type=Pg --enable-developer

> will add some additional perl dependencies for 'make testdeps' to
> install.  

...
All dependencies have been found.

> You'll then be able to run RT's tests:
> 
>     $ prove -wl t/{crypt,mail,web}/smime/*.t
>     t/crypt/smime/attachments-in-db.t ..... ok
>     t/crypt/smime/bad-recipients.t ........ ok
>     t/crypt/smime/status-string.t ......... ok
>     t/mail/smime/incoming.t ............... ok
>     t/mail/smime/other-signed.t ........... ok
>     t/mail/smime/outgoing.t ............... ok
>     t/mail/smime/realmail.t ............... ok
>     t/mail/smime/reject_on_unencrypted.t .. ok
>     t/web/smime/outgoing.t ................ ok
>     All tests successful.
>     Files=9, Tests=720, 214 wallclock secs ( 0.40 usr  0.06 sys +
>     155.68 cusr 11.91 csys = 168.05 CPU)
>     Result: PASS

Did not work - first try:

Bailout called.  Further testing stopped:  RT_DBA_USER and
RT_DBA_PASSWORD environment variables need to be set in order to run
'make test'

Then I set the two variables by export and got:

t/crypt/smime/attachments-in-db.t ..... Connect Failed FATAL:  Datenbank
>>rt4test<< existiert nicht
 at /tmp/rt-4.2.6/lib/RT/Test.pm line 643.
BEGIN failed--compilation aborted at t/crypt/smime/attachments-in-db.t
line 4.
t/crypt/smime/attachments-in-db.t ..... 1/?


and several pages other errors ...



-- 

MHC SoftWare GmbH
Fichtera 17                  
96274 Itzgrund/Germany   

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info at mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze






More information about the rt-users mailing list