1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_process.rb (TestProcess#test_too_long_path2):

Factored out from test_too_long_path. A test should only do
	  one test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-01-27 16:33:23 +00:00
parent 4a42b101a9
commit 6c2b2c2853
2 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,9 @@
Fri Jan 28 01:27:42 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_process.rb (TestProcess#test_too_long_path2):
Factored out from test_too_long_path. A test should only do
one test.
Thu Jan 27 23:29:36 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* st.c (st_foreach): check if unpacked.

View file

@ -1235,9 +1235,10 @@ class TestProcess < Test::Unit::TestCase
def test_too_long_path
bug4314 = '[ruby-core:34842]'
assert_raise(Errno::ENOENT, bug4314) {Process.spawn("a" * 100_000_000)}
if /mswin|mingw/ =~ RUBY_PLATFORM
bug4315 = '[ruby-core:34833]'
assert_raise(Errno::ENOENT, bug4315) {Process.spawn('"a"|'*100_000_000)}
end
end
def test_too_long_path2
bug4315 = '[ruby-core:34833]'
assert_raise(Errno::ENOENT, bug4315) {Process.spawn('"a"|'*100_000_000)}
end
end