[Catalyst-commits] r6492 - in trunk/Catalyst-Plugin-Session-Store-FastMmap: . t

ash at dev.catalyst.perl.org ash at dev.catalyst.perl.org
Sun Jul 1 23:35:17 GMT 2007


Author: ash
Date: 2007-07-01 23:35:17 +0100 (Sun, 01 Jul 2007)
New Revision: 6492

Removed:
   trunk/Catalyst-Plugin-Session-Store-FastMmap/t/99_prereq.t
Modified:
   trunk/Catalyst-Plugin-Session-Store-FastMmap/Build.PL
   trunk/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t
Log:
Make things actualy pass on win32

Modified: trunk/Catalyst-Plugin-Session-Store-FastMmap/Build.PL
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-FastMmap/Build.PL	2007-07-01 21:42:15 UTC (rev 6491)
+++ trunk/Catalyst-Plugin-Session-Store-FastMmap/Build.PL	2007-07-01 22:35:17 UTC (rev 6492)
@@ -6,7 +6,7 @@
     license            => 'perl',
     module_name        => 'Catalyst::Plugin::Session::Store::FastMmap',
     requires           => {
-        'Catalyst::Plugin::Session' => '0.01',
+        'Catalyst::Plugin::Session' => '0.09',
         ($^O eq 'MSWin32' 
             ? 'Cache::FastMmap::WithWin32'
             : 'Cache::FastMmap'          

Deleted: trunk/Catalyst-Plugin-Session-Store-FastMmap/t/99_prereq.t
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-FastMmap/t/99_prereq.t	2007-07-01 21:42:15 UTC (rev 6491)
+++ trunk/Catalyst-Plugin-Session-Store-FastMmap/t/99_prereq.t	2007-07-01 22:35:17 UTC (rev 6492)
@@ -1,8 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use Test::Prereq::Build;
-prereq_ok();
-

Modified: trunk/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t	2007-07-01 21:42:15 UTC (rev 6491)
+++ trunk/Catalyst-Plugin-Session-Store-FastMmap/t/basic.t	2007-07-01 22:35:17 UTC (rev 6492)
@@ -8,10 +8,6 @@
 
 use Catalyst::Plugin::Session::Test::Store (
     backend => "FastMmap",
-    config  => {
-        storage => ( my $tmp = File::Temp->new( UNLINK => 1 ) )
-          ->filename,    # $tmp: positive refcount
-    },
     extra_tests => 1
 );
 
@@ -38,6 +34,6 @@
     use Catalyst::Test "SessionStoreTest";
     use Test::More;
 
-    get("/store_scalar");
+    my $x = get("/store_scalar");
     is(get('/get_scalar'), 456, 'Can store scalar value okay');
 }




More information about the Catalyst-commits mailing list