[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mason
Subject:    RE: [Mason] failed test 10-cache.t in HTML-Mason-1.03
From:       Jonathan Swartz <swartz () pobox ! com>
Date:       2001-08-28 15:39:31
[Download RAW message or body]

So it looks like data caching ($m->cache) isn't working, though you can
still use the rest of Mason.

If you want to use caching, make sure MLDBM and your DBM implementation
(e.g. DB-File, GDBM) are working on your system from a standalone script.
Check your settings in Mason/Config.pm.

Jon

> -----Original Message-----
> From: Rainer Tammer [mailto:rainer.tammer@spg.schulergroup.com]
> Sent: Tuesday, August 28, 2001 6:54 AM
> To: Jonathan Swartz
> Subject: RE: [Mason] failed test 10-cache.t in HTML-Mason-1.03
>
>
> Hallo,
> please see the attachment.
>
> On Tue, 28 Aug 2001 05:19:21 -0700, Jonathan Swartz wrote:
>
> >Try running
> >
> >    make test TEST_VERBOSE=1
>
> ---------- snip ---------------------- snip
> ---------------------- snip ---------------------- snip ------------
>
> t/10-cache..........
> 1..3
> Running cache tests (3 tests): Test caching
> Running cache (#1): basic caching functionality
> Result differed from expected output at line 7
> Got ...
> -----
>
> Hello Dolly.
> This was not cached.
> Return value: Hello Dolly.
>
> -----
>    ... but expected ...
> -----
>
> Hello Dolly.
> This was cached.
> Return value:
>
> -----
> Result for cache: cache
> not ok 1
> Running cache_self (#2): cache_self functionality
> Result differed from expected output at line 4
> Got ...
> -----
>
>
> Hello World! var = 2
>
>
> -----
>    ... but expected ...
> -----
>
>
> Hello World! var = 1
>
>
> -----
> Result for cache: cache_self
> not ok 2
> Running keys (#3): test $m->cache( action => 'keys' )
> Result differed from expected output at line 2
> Got ...
> -----
> keys in cache: bar,baz,foo
> value for foo is undefined
> value for bar is undefined
> value for baz is undefined
> -----
>    ... but expected ...
> -----
> keys in cache: bar,baz,foo
> value for foo is foo
> value for bar is bar
> value for baz is baz
> -----
> Result for cache: keys
> not ok 3
> FAILED tests 1-3
> 	Failed 3/3 tests, 0.00% okay
>
> ---------- snip ---------------------- snip
> ---------------------- snip ---------------------- snip ------------
>
> >and see what the output is for the cache test.
> >
> >> -----Original Message-----
> >> From: mason-users-admin@lists.sourceforge.net
> >> [mailto:mason-users-admin@lists.sourceforge.net]On Behalf Of Rainer
> >> Tammer
> >> Sent: Monday, August 27, 2001 2:28 AM
> >> To: mason-users@lists.sourceforge.net
> >> Subject: [Mason] failed test 10-cache.t in HTML-Mason-1.03
> >>
> >>
> >> Hello,
> >> I tried to install HTML-Mason-1.03 on AIX 4.3.3 ML8 with Perl 5.005_03
> >> (IBM build),
> >> Data-Dumper-2.101, MLDBM-2.0.0
> >>
> >> make test result:
> >>
> >>
> >> ...
> >> t/10-cache..........FAILED tests 1-3
> >>         Failed 3/3 tests, 0.00% okay
> >> ...
> >>
> >> Any ideas ???
> >>
> >> Bye
> >>   Rainer Tammer
> >>
> >>
> >>
> >> _______________________________________________
> >> Mason-users mailing list
> >> Mason-users@lists.sourceforge.net
> >> http://lists.sourceforge.net/lists/listinfo/mason-users
> >>
> >
>
> bye
>   rainer tammer
>
>
>
> Bye
>
>    Rainer Tammer
>    [Schuler Pressen GmbH & Co, Abt.: CIS, Tel.: +49(7161)66-1440]
>
>
>

_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mason-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic