From 8e2e8adda8adbadee8ab31cde700b7e486b1154c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 4 Feb 2011 18:58:26 -0800 Subject: rename XAcceptEpoll to XEpoll It's too long especially since XEpollThreadPool is planned :> --- t/GNUmakefile | 2 +- t/simple-http_XAcceptEpoll.ru | 9 --------- t/simple-http_XEpoll.ru | 9 +++++++++ t/t0113-rewindable-input-false.sh | 2 +- t/t0114-rewindable-input-true.sh | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 t/simple-http_XAcceptEpoll.ru create mode 100644 t/simple-http_XEpoll.ru (limited to 't') 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_XAcceptEpoll.ru deleted file mode 100644 index fc0baa6..0000000 --- a/t/simple-http_XAcceptEpoll.ru +++ /dev/null @@ -1,9 +0,0 @@ -use Rack::ContentLength -use Rack::ContentType -run lambda { |env| - if env['rack.multithread'] == false && env['rainbows.model'] == :XAcceptEpoll - [ 200, {}, [ Thread.current.inspect << "\n" ] ] - else - raise env.inspect - end -} diff --git a/t/simple-http_XEpoll.ru b/t/simple-http_XEpoll.ru new file mode 100644 index 0000000..518099b --- /dev/null +++ b/t/simple-http_XEpoll.ru @@ -0,0 +1,9 @@ +use Rack::ContentLength +use Rack::ContentType +run lambda { |env| + if env['rack.multithread'] == false && env['rainbows.model'] == :XEpoll + [ 200, {}, [ Thread.current.inspect << "\n" ] ] + else + raise env.inspect + end +} 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" -- cgit v1.2.3-24-ge0c7