about summary refs log tree commit homepage
path: root/t/t9100-thread-timeout.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-05-16 19:43:38 +0000
committerEric Wong <normalperson@yhbt.net>2011-05-16 19:43:38 +0000
commit49b60d6f67a94560a802c6ff80c16c92093de877 (patch)
treeacf5e7c4551b393c64fa35535427173751caca82 /t/t9100-thread-timeout.sh
parent39f625fff05d457b01f088017f463a86d3b6c626 (diff)
downloadrainbows-49b60d6f67a94560a802c6ff80c16c92093de877.tar.gz
This makes things easier to maintain as we add more concurrency
options.
Diffstat (limited to 't/t9100-thread-timeout.sh')
-rwxr-xr-xt/t9100-thread-timeout.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/t/t9100-thread-timeout.sh b/t/t9100-thread-timeout.sh
index 8d61cc5..bf0c252 100755
--- a/t/t9100-thread-timeout.sh
+++ b/t/t9100-thread-timeout.sh
@@ -1,12 +1,6 @@
 #!/bin/sh
 . ./test-lib.sh
-case $model in
-ThreadSpawn|ThreadPool) ;;
-RevThreadSpawn|RevThreadPool) ;;
-CoolioThreadSpawn|CoolioThreadPool) ;;
-XEpollThreadSpawn) ;;
-*) t_info "$0 is only compatible with Thread*"; exit 0 ;;
-esac
+check_threaded_app_dispatch
 
 t_plan 6 "ThreadTimeout Rack middleware test for $model"