blob: a6363ef78b703cfab88d862a0a464674b0c4fcbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require 'test/unit'
$:.replace([File.dirname(File.expand_path(__FILE__))] | $:)
require 'ut_eof'
require 'envutil'
$KCODE = 'none'
class TestPipe < Test::Unit::TestCase
include TestEOF
def open_file(content)
f = IO.popen("echo -n #{content}")
yield f
end
end
|