From 49b60d6f67a94560a802c6ff80c16c92093de877 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 16 May 2011 19:43:38 +0000 Subject: tests: unify checks for copy_stream and threaded app dispatch This makes things easier to maintain as we add more concurrency options. --- t/t0026-splice-copy_stream-byte-range.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 't/t0026-splice-copy_stream-byte-range.sh') diff --git a/t/t0026-splice-copy_stream-byte-range.sh b/t/t0026-splice-copy_stream-byte-range.sh index 70546b6..b4b89e5 100644 --- a/t/t0026-splice-copy_stream-byte-range.sh +++ b/t/t0026-splice-copy_stream-byte-range.sh @@ -1,24 +1,9 @@ #!/bin/sh . ./test-lib.sh test -r random_blob || die "random_blob required, run with 'make $0'" -case $RUBY_VERSION in -1.9.*) ;; -*) - t_info "skipping $T since it can't IO::Splice.copy_stream" - exit 0 - ;; -esac +check_copy_stream check_splice -case $model in -ThreadSpawn|WriterThreadSpawn|ThreadPool|WriterThreadPool|Base) ;; -XEpollThreadSpawn) ;; -*) - t_info "skipping $T since it doesn't use copy_stream" - exit 0 - ;; -esac - t_plan 13 "IO::Splice.copy_stream byte range response for $model" t_begin "setup and startup" && { -- cgit v1.2.3-24-ge0c7