diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-05-16 19:43:38 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-05-16 19:43:38 +0000 |
commit | 49b60d6f67a94560a802c6ff80c16c92093de877 (patch) | |
tree | acf5e7c4551b393c64fa35535427173751caca82 /t/t0026-splice-copy_stream-byte-range.sh | |
parent | 39f625fff05d457b01f088017f463a86d3b6c626 (diff) | |
download | rainbows-49b60d6f67a94560a802c6ff80c16c92093de877.tar.gz |
This makes things easier to maintain as we add more concurrency options.
Diffstat (limited to 't/t0026-splice-copy_stream-byte-range.sh')
-rw-r--r-- | t/t0026-splice-copy_stream-byte-range.sh | 17 |
1 files changed, 1 insertions, 16 deletions
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" && { |