From a09a622b4988b5eee819487c96a4563e71f753f7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 Feb 2013 10:30:25 +0000 Subject: 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 --- t/bin/utee | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 t/bin/utee 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 -$stdin.binmode -$stdout.binmode -fp = File.open(ARGV.shift, "wb") -$stdin.each_line do |line| - fp.syswrite line - $stdout.syswrite line -end -- cgit v1.2.3-24-ge0c7