* test/ruby/test_system.rb (TestSystem#test_system_at): use findstr
command instead of find command, because the latter is confusing another famous Unix command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d7feebb4b3
commit
25a4c79279
@ -1,3 +1,9 @@
|
|||||||
|
Tue Feb 15 09:49:33 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_system.rb (TestSystem#test_system_at): use findstr
|
||||||
|
command instead of find command, because the latter is confusing
|
||||||
|
another famous Unix command.
|
||||||
|
|
||||||
Mon Feb 14 23:01:19 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
Mon Feb 14 23:01:19 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
* thread.c (rb_thread_io_blocking_region): reset th->waiting_fd
|
* thread.c (rb_thread_io_blocking_region): reset th->waiting_fd
|
||||||
|
@ -103,7 +103,7 @@ class TestSystem < Test::Unit::TestCase
|
|||||||
tmp = open(tmpfilename, "w")
|
tmp = open(tmpfilename, "w")
|
||||||
tmp.print "foo\nbar\nbaz";
|
tmp.print "foo\nbar\nbaz";
|
||||||
tmp.close
|
tmp.close
|
||||||
assert_match(/\n.*\nbar\nbaz\n/, `@@find "ba" #{tmpfilename.gsub("/", "\\")}`, testname);
|
assert_match(/\Abar\nbaz\n?\z/, `@@findstr "ba" #{tmpfilename.gsub("/", "\\")}`, testname);
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user