[前][次][番号順一覧][スレッド一覧]

ruby-changes:18656

From: kosaki <ko1@a...>
Date: Fri, 28 Jan 2011 01:33:30 +0900 (JST)
Subject: [ruby-changes:18656] Ruby:r30680 (trunk): * test/ruby/test_process.rb (TestProcess#test_too_long_path2):

kosaki	2011-01-28 01:33:23 +0900 (Fri, 28 Jan 2011)

  New Revision: 30680

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30680

  Log:
    * test/ruby/test_process.rb (TestProcess#test_too_long_path2):
      Factored out from test_too_long_path. A test should only do
      one test.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_process.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30679)
+++ ChangeLog	(revision 30680)
@@ -1,3 +1,9 @@
+Fri Jan 28 01:27:42 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* 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@r...>
 
 	* st.c (st_foreach): check if unpacked.
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 30679)
+++ test/ruby/test_process.rb	(revision 30680)
@@ -1235,9 +1235,10 @@
   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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]