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

ruby-changes:3303

From: ko1@a...
Date: 30 Dec 2007 20:01:00 +0900
Subject: [ruby-changes:3303] usa - Ruby:r14796 (trunk): * bootstraptest/test_knownbug.rb: support DOSISH.

usa	2007-12-30 19:23:53 +0900 (Sun, 30 Dec 2007)

  New Revision: 14796

  Modified files:
    trunk/ChangeLog
    trunk/bootstraptest/test_knownbug.rb

  Log:
    * bootstraptest/test_knownbug.rb: support DOSISH.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14796&r2=14795
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14796&r2=14795

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14795)
+++ ChangeLog	(revision 14796)
@@ -1,3 +1,7 @@
+Sun Dec 30 19:23:23 2007  NAKAMURA Usaku  <usa@r...>
+
+	* bootstraptest/test_knownbug.rb: support DOSISH.
+
 Sun Dec 30 17:43:54 2007  Nobuyoshi Nakada  <nobu@r...>
 
 	* encoding.c (Init_Encoding): registered rb_encoding differs from
Index: bootstraptest/test_knownbug.rb
===================================================================
--- bootstraptest/test_knownbug.rb	(revision 14795)
+++ bootstraptest/test_knownbug.rb	(revision 14796)
@@ -4,7 +4,8 @@
 #
 
 assert_normal_exit %q{
-  File.read("/dev/null").clone
+  null = File.exist?("/dev/null") ? "/dev/null" : "NUL" # maybe DOSISH
+  File.read(null).clone
 }, '[ruby-dev:32819] reported by Kazuhiro NISHIYAMA'
 
 assert_normal_exit %q{

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

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