summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-27 16:33:23 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-27 16:33:23 +0000
commit6c2b2c285372a8b5e3457058ff85ecf327e4e105 (patch)
tree2826490139bd976f3baed67ca5b88b7652af22e5
parent4a42b101a9521b74ded79f2dc1b6260533abca8c (diff)
downloadruby-6c2b2c285372a8b5e3457058ff85ecf327e4e105.tar.gz
* 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
-rw-r--r--ChangeLog6
-rw-r--r--test/ruby/test_process.rb9
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8dd7490092..04043ee215 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index b25fa2c0a4..56a6c596a4 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -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