summary refs log tree commit homepage
diff options
authorEric Wong <>2013-02-04 10:30:25 +0000
committerEric Wong <>2013-02-04 10:30:25 +0000
commita09a622b4988b5eee819487c96a4563e71f753f7 (patch)
parent64765b95df06256d39daefdeebde97c874770131 (diff)
POSIX already stipulates tee(1) must be unbuffered.  I think my
decision to use utee was due to my being misled by a bug in
older curl where -N did not work as advertised (but --no-buffer

N.B. we don't use tee in unicorn tests, this just matches
commit cbff7b0892148b037581541184364e0e91d2a138 in rainbows
1 files changed, 0 insertions, 12 deletions
diff --git a/t/bin/utee b/t/bin/utee
deleted file mode 100755
index 7b61fea..0000000
--- a/t/bin/utee
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env ruby
-# -*- encoding: binary -*-
-# tee(1) as distributed on most(all?) systems is buffered in luserspace
-# this only does unbuffered writes (with line-buffered input) to make
-# test output appear in real-time
-fp =, "wb")
-$stdin.each_line do |line|
-  fp.syswrite line
-  $stdout.syswrite line