summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-04 18:58:26 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-04 18:58:26 -0800
commit8e2e8adda8adbadee8ab31cde700b7e486b1154c (patch)
treeb4fadc909c9636486ee8e1bebd735786063b9af7 /t
parent0f4f015737297ac5245d0be9ee83553770ade0a9 (diff)
It's too long especially since XEpollThreadPool is planned :>
Diffstat (limited to 't')
-rw-r--r--t/GNUmakefile2
-rw-r--r--t/simple-http_XEpoll.ru (renamed from t/simple-http_XAcceptEpoll.ru)2
-rwxr-xr-xt/t0113-rewindable-input-false.sh2
-rwxr-xr-xt/t0114-rewindable-input-true.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/t/GNUmakefile b/t/GNUmakefile
index 21b5154..07dfec9 100644
--- a/t/GNUmakefile
+++ b/t/GNUmakefile
@@ -20,7 +20,7 @@ RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
 export RUBY_VERSION RUBY_ENGINE
 
 ifeq (Linux,$(shell uname -s))
-  models += XAcceptEpoll
+  models += XEpoll
   models += Epoll
 endif
 models += WriterThreadPool
diff --git a/t/simple-http_XAcceptEpoll.ru b/t/simple-http_XEpoll.ru
index fc0baa6..518099b 100644
--- a/t/simple-http_XAcceptEpoll.ru
+++ b/t/simple-http_XEpoll.ru
@@ -1,7 +1,7 @@
 use Rack::ContentLength
 use Rack::ContentType
 run lambda { |env|
-  if env['rack.multithread'] == false && env['rainbows.model'] == :XAcceptEpoll
+  if env['rack.multithread'] == false && env['rainbows.model'] == :XEpoll
     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
   else
     raise env.inspect
diff --git a/t/t0113-rewindable-input-false.sh b/t/t0113-rewindable-input-false.sh
index 1119dbf..6eb2fda 100755
--- a/t/t0113-rewindable-input-false.sh
+++ b/t/t0113-rewindable-input-false.sh
@@ -3,7 +3,7 @@
 skip_models EventMachine NeverBlock
 skip_models Rev RevThreadSpawn RevThreadPool
 skip_models Coolio CoolioThreadSpawn CoolioThreadPool
-skip_models Epoll XAcceptEpoll
+skip_models Epoll XEpoll
 
 t_plan 4 "rewindable_input toggled to false"
 
diff --git a/t/t0114-rewindable-input-true.sh b/t/t0114-rewindable-input-true.sh
index f4ef796..9d256dc 100755
--- a/t/t0114-rewindable-input-true.sh
+++ b/t/t0114-rewindable-input-true.sh
@@ -3,7 +3,7 @@
 skip_models EventMachine NeverBlock
 skip_models Rev RevThreadSpawn RevThreadPool
 skip_models Coolio CoolioThreadSpawn CoolioThreadPool
-skip_models Epoll XAcceptEpoll
+skip_models Epoll XEpoll
 
 t_plan 4 "rewindable_input toggled to true"