make temporary directory by myself
Masahiro Chiba [Sat, 12 Dec 2009 22:52:04 +0000 (06:52 +0800)]
t/003_basic_w_file_store.t
t/004_basic_file_w_customs.t

index 2d767b5..e5f6817 100644 (file)
@@ -14,6 +14,9 @@ use Plack::Session::Store::File;
 use t::lib::TestSession;
 
 my $TMP = File::Spec->catdir('t', 'tmp');
+if ( !-d $TMP ) {
+    mkdir $TMP;
+}
 
 t::lib::TestSession::run_all_tests(
     store           => Plack::Session::Store::File->new( dir => $TMP ),
index 90bfa0c..0683a79 100644 (file)
@@ -19,6 +19,9 @@ use Plack::Session::Store::File;
 use t::lib::TestSession;
 
 my $TMP = File::Spec->catdir('t', 'tmp');
+if ( !-d $TMP ) {
+    mkdir $TMP;
+}
 
 t::lib::TestSession::run_all_tests(
     store           => Plack::Session::Store::File->new(