ruby-changes:18843
From: kosaki <ko1@a...>
Date: Mon, 14 Feb 2011 17:30:08 +0900 (JST)
Subject: [ruby-changes:18843] Ruby:r30868 (trunk): * test/ruby/test_system.rb (TestSystem#test_system_at):
kosaki 2011-02-14 17:30:00 +0900 (Mon, 14 Feb 2011) New Revision: 30868 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30868 Log: * test/ruby/test_system.rb (TestSystem#test_system_at): added test. [ruby-core:35218] (#4393) Modified files: trunk/ChangeLog trunk/test/ruby/test_system.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 30867) +++ ChangeLog (revision 30868) @@ -1,3 +1,8 @@ +Mon Feb 14 17:28:34 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * test/ruby/test_system.rb (TestSystem#test_system_at): + added test. [ruby-core:35218] (#4393) + Mon Feb 14 13:15:35 2011 NAKAMURA Usaku <usa@r...> * win32/win32.c (is_internal_cmd): if the first char of prog is '@', Index: test/ruby/test_system.rb =================================================================== --- test/ruby/test_system.rb (revision 30867) +++ test/ruby/test_system.rb (revision 30868) @@ -88,6 +88,13 @@ } end + def test_system_at + if /mswin|mingw/ =~ RUBY_PLATFORM + testname = '[ruby-core:35218]' + assert_equal("foo\n", `@echo foo`, testname); + end + end + def test_empty_evstr assert_equal("", eval('"#{}"', nil, __FILE__, __LINE__), "[ruby-dev:25113]") end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/