about summary refs log tree commit homepage
path: root/t/t0027-nil-copy_stream.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/t0027-nil-copy_stream.sh
parent39f625fff05d457b01f088017f463a86d3b6c626 (diff)
downloadrainbows-49b60d6f67a94560a802c6ff80c16c92093de877.tar.gz
This makes things easier to maintain as we add more concurrency
options.
Diffstat (limited to 't/t0027-nil-copy_stream.sh')
-rw-r--r--t/t0027-nil-copy_stream.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/t/t0027-nil-copy_stream.sh b/t/t0027-nil-copy_stream.sh
index 03c7f0a..9b68160 100644
--- a/t/t0027-nil-copy_stream.sh
+++ b/t/t0027-nil-copy_stream.sh
@@ -1,15 +1,7 @@
 #!/bin/sh
 . ./test-lib.sh
 test -r random_blob || die "random_blob required, run with 'make $0'"
-
-case $model in
-ThreadSpawn|WriterThreadSpawn|ThreadPool|WriterThreadPool|Base) ;;
-XEpollThreadSpawn) ;;
-*)
-        t_info "skipping $T since it doesn't use copy_stream"
-        exit 0
-        ;;
-esac
+check_copy_stream
 
 t_plan 7 "large file 'copy_stream nil' test for $model"