Remove non-working tests
Tomas Doran [Wed, 2 Sep 2009 00:48:24 +0000 (00:48 +0000)]
t/start_dev_server.t [deleted file]
t/start_fcgi.t [deleted file]

diff --git a/t/start_dev_server.t b/t/start_dev_server.t
deleted file mode 100644 (file)
index 6b54c28..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-use Test::More tests => 1;
-use strict;
-use warnings;
-use Catalyst::Engine::HTTP;
-use File::Temp qw/ tempdir tmpnam /;
-use FindBin qw/$Bin/;
-use File::Spec;
-use lib "$Bin/TestApp/lib";
-use TestApp;
-use Catalyst::Test 'TestApp', {default_host => 'default.com'};
-use Catalyst::Request;
-use Test::WWW::Mechanize;
-BEGIN { 
-    $ENV{CATALYST_ENGINE} ||= 'HTTP';
-    $ENV{CATALYST_SCRIPT_GEN} = 31;
-    require Catalyst::Engine::HTTP;
-} 
-my $dir = tempdir(); # CLEANUP => 1 );
-my $devnull = File::Spec->devnull;
-
-my $server_path   = File::Spec->catfile('script', 'testapp_server.pl');
-my $port = int(rand(10000)) + 40000; # get random port between 40000-50000
-
-my $childpid = fork();
-die "fork() error, cannot continue" unless defined($childpid);
-
-if ($childpid == 0) {
-  system("$^X $server_path --listen $port > $devnull 2>&1");
-  exit; # just for sure; we should never got here
-}
-
-sleep 10; #wait for catalyst application to start
-my $mech = Test::WWW::Mechanize->new;
-$mech->get_ok( "http://localhost:" . $port );
-
-kill 'KILL', $childpid;
-
-
diff --git a/t/start_fcgi.t b/t/start_fcgi.t
deleted file mode 100644 (file)
index 266eff2..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-use Test::More tests => 1;
-use strict;
-use warnings;
-
-BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' }
-use File::Temp qw/ tempdir tmpnam /;
-use FindBin qw/$Bin/;
-use File::Spec;
-use lib "$Bin/TestApp/lib";
-use TestApp;
-use Test::WWW::Mechanize;
-use Catalyst::Test 'TestApp';
-
-my $dir = tempdir(); # CLEANUP => 1 );
-my $devnull = File::Spec->devnull;
-
-my $server_path   = File::Spec->catfile('script', 'testapp_fastcgi.pl');
-my $port = int(rand(10000)) + 40000; # get random port between 40000-50000
-
-my $childpid = fork();
-die "fork() error, cannot continue" unless defined($childpid);
-
-if ($childpid == 0) {
-  system("$^X $server_path -p $port > $devnull 2>&1");
-  exit; # just for sure; we should never got here
-}
-
-sleep 10; #wait for catalyst application to start
-my $mech = Test::WWW::Mechanize->new;
-$mech->get_ok( "http://localhost:" . $port );
-
-kill 'KILL', $childpid;
-
-