From: Eric Wong Date: Mon, 4 Feb 2013 10:30:25 +0000 (+0000) Subject: tests: remove utee X-Git-Tag: v4.6.0~4 X-Git-Url: https://repo.or.cz/w/unicorn.git/commitdiff_plain/a09a622b4988b5eee819487c96a4563e71f753f7 tests: remove utee 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 did). N.B. we don't use tee in unicorn tests, this just matches commit cbff7b0892148b037581541184364e0e91d2a138 in rainbows --- diff --git a/t/bin/utee b/t/bin/utee deleted file mode 100755 index 7b61fea9..00000000 --- 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 -$stdin.binmode -$stdout.binmode -fp = File.open(ARGV.shift, "wb") -$stdin.each_line do |line| - fp.syswrite line - $stdout.syswrite line -end