blob: 452f5e1a7e19f6b24e5f1e1f8db5963c5513d2e5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: false
require 'test/unit'
class TestTiemout < Test::Unit::TestCase
def test_timeout
cmd = [*@__runner_options__[:ruby], "#{File.dirname(__FILE__)}/test4test_timeout.rb"]
result = IO.popen(cmd, err: [:child, :out], &:read)
assert_not_match(/^T{10}$/, result)
end
end
|