1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
usa fd9f6bde95 * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new
function to support nonblock-mode of pipes.

* win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA
  if there is no data, but also returns it if remote-end is closed.

* win32/win32.c (rb_w32_write): if cannot to write any data, it may be
  blocking.

* io.c (rb_io_set_nonblock): use rb_w32_set_nonblock for Windows.

* ext/io/nonblock/nonblock.c (rb_io_nonblock_set): use ruby's API when
  setting nonblock-mode.

* test/ruby/test_io.rb: test nonblock pipes on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-10 10:42:19 +00:00
..
enc euckr-tbl.rb: euro and registered signs 2014-08-19 13:22:46 +00:00
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb comment updated. 2014-11-01 15:35:31 +00:00
find_executable.rb require "rbconfig" to use RbConfig 2014-07-09 02:31:05 +00:00
lbtest.rb
marshaltestlib.rb
memory_status.rb * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
sentence.rb
test_alias.rb vm_method.c: check if klass is 0 2014-03-23 02:03:51 +00:00
test_argf.rb io.c: preserve encodings 2014-08-28 06:18:30 +00:00
test_arity.rb
test_array.rb array.c: non-recursive rcombinate0 2014-06-14 01:55:25 +00:00
test_assignment.rb compile.c: private reader in op_assign 2014-07-19 03:40:52 +00:00
test_autoload.rb * test/ruby/envutil.rb (default_warning): New method. 2014-06-01 22:31:30 +00:00
test_backtrace.rb test/ruby: fix leaked threads 2014-05-26 05:38:10 +00:00
test_basicinstructions.rb
test_beginendblock.rb test_beginendblock.rb: avoid leaking threads 2014-05-30 02:32:37 +00:00
test_bignum.rb
test_call.rb vm_insnhelper.c: disable fastpath if splat 2014-03-12 02:19:13 +00:00
test_case.rb
test_class.rb class.c: freeze meta class only 2014-09-13 13:03:46 +00:00
test_clone.rb
test_comparable.rb compar.c: use Module#to_s 2014-08-21 04:39:32 +00:00
test_complex.rb * test/ruby/test_complex.rb: removed unreachable code. 2014-08-27 00:58:16 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb variable.c: avoid memory leak on const redefinition 2014-03-17 01:24:06 +00:00
test_continuation.rb
test_defined.rb
test_dir.rb * configure.in (dirfd): Check function. 2014-09-04 15:54:04 +00:00
test_dir_m17n.rb test_dir_m17n.rb: assert_raw_file_name 2014-05-28 04:20:35 +00:00
test_econv.rb transcode.c: use string 2014-08-03 01:55:32 +00:00
test_encoding.rb encoding.c: fix encoding of dynsym 2014-03-26 11:14:44 +00:00
test_enum.rb enum.c: nil if no iteration 2014-10-15 06:27:30 +00:00
test_enumerator.rb
test_env.rb test/ruby/test_env.rb: test memory leaks only on Windows 2014-07-15 08:04:59 +00:00
test_eval.rb * vm_core.h, vm.c, proc.c: fix GC mark miss on bindings. 2014-10-18 11:46:31 +00:00
test_exception.rb Fix typos in assert messages [ci skip] 2014-11-09 13:12:14 +00:00
test_fiber.rb
test_file.rb Join threads. 2014-05-31 15:31:46 +00:00
test_file_exhaustive.rb test_file_exhaustive.rb: fix expected value 2014-06-15 11:49:25 +00:00
test_fixnum.rb add assertions for division NaN 2014-08-01 07:35:34 +00:00
test_flip.rb
test_float.rb numeric.c: 0 % Float::NAN returns Float::NAN 2014-08-01 07:35:48 +00:00
test_fnmatch.rb
test_gc.rb * test/ruby/test_gc.rb: fix condition. 2014-09-10 07:24:24 +00:00
test_hash.rb parse.y: quoted ID key 2014-09-20 01:48:43 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new 2014-11-10 10:42:19 +00:00
test_io_m17n.rb test_io_m17n.rb: leaked FDs 2014-08-28 08:27:53 +00:00
test_iseq.rb
test_iterator.rb
test_keyword.rb class.c: delete expected keywords directly 2014-10-22 18:41:54 +00:00
test_lambda.rb vm_insnhelper.c: allow to_ary 2014-10-30 02:16:15 +00:00
test_lazy_enumerator.rb * enum.c (enum_slice_when): New method: Enumerable#slice_when. 2014-09-20 06:52:29 +00:00
test_literal.rb
test_m17n.rb re.c: mak eregexps with binary escapes ASCII-8BIT 2014-10-17 06:06:43 +00:00
test_m17n_comb.rb string.c: raise at invalid byte sequence 2014-07-22 04:33:38 +00:00
test_marshal.rb marshal.c: fix symlink index 2014-07-29 03:28:43 +00:00
test_math.rb test_math.rb: use Float#infinite? 2014-09-19 01:47:06 +00:00
test_metaclass.rb
test_method.rb * test/ruby/test_method.rb: r48239 makes this test green. 2014-11-02 18:40:45 +00:00
test_mixed_unicode_escapes.rb
test_module.rb test_module.rb: test with UTF-8 2014-10-20 07:38:53 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb * numeric.c (do_coerce): Add a warning when an exception is raised 2014-06-07 13:16:01 +00:00
test_object.rb test_object.rb: for r48118 2014-10-23 16:23:46 +00:00
test_objectspace.rb gc.c: preserve encoding 2014-09-10 08:22:03 +00:00
test_optimization.rb test/ruby/test_optimization.rb (test_string_size): new test 2014-10-14 22:01:54 +00:00
test_pack.rb pack.c: escape and encoding 2014-11-06 14:58:43 +00:00
test_parse.rb parse.y: invalid instance/class variable names 2014-11-01 06:45:17 +00:00
test_path.rb
test_pipe.rb io.c: truncate before appending 2014-06-07 03:51:57 +00:00
test_primitive.rb
test_proc.rb proc.c: fix method proc binding receiver 2014-10-27 08:17:26 +00:00
test_process.rb test/ruby/test_process.rb: reduce garbage during forks 2014-10-27 02:33:51 +00:00
test_rand.rb
test_range.rb * enum.c (nmin_run): max(n) and max_by(n) returns an array in 2014-10-13 16:30:07 +00:00
test_rational.rb * test/ruby/test_complex.rb: removed unreachable code. 2014-08-27 00:58:16 +00:00
test_rational2.rb
test_readpartial.rb normalize reference to Timeout::Error 2014-10-07 20:00:09 +00:00
test_refinement.rb vm_insnhelper.c: fix unusable super class 2014-08-03 01:43:10 +00:00
test_regexp.rb test_regexp.rb: split test_once 2014-06-20 06:47:37 +00:00
test_require.rb load.c: transcode path 2014-10-29 05:44:33 +00:00
test_rubyoptions.rb ruby.c: no -r when dump 2014-10-28 07:22:43 +00:00
test_rubyvm.rb vm.c: avoid inadvertent pin-down 2014-03-31 02:34:40 +00:00
test_settracefunc.rb optimized any? methods 2014-07-18 13:16:48 +00:00
test_signal.rb signal.c: get rid of deadlock by discarded signals 2014-10-07 14:40:16 +00:00
test_sleep.rb I suspect such early wakeup is because of automatic time correction 2014-05-22 10:42:06 +00:00
test_sprintf.rb sprintf.c: improve rational 'f' format 2014-09-14 23:13:36 +00:00
test_sprintf_comb.rb
test_string.rb * Avoid undefined behaviors found by gcc -fsanitize=undefined. 2014-10-17 09:49:28 +00:00
test_stringchar.rb
test_struct.rb struct.c: avoid pinning down 2014-03-28 12:36:27 +00:00
test_super.rb * test/ruby/test_super.rb: add a test to check block passing. 2014-10-27 07:29:32 +00:00
test_symbol.rb symbol.c: fix dynamic attrset ID 2014-09-19 11:06:04 +00:00
test_syntax.rb parse.y: reset current_arg after block var 2014-10-29 15:01:49 +00:00
test_system.rb
test_thread.rb Fix a typo. 2014-09-22 23:29:15 +00:00
test_threadgroup.rb test/ruby: fix leaked threads 2014-05-26 05:13:40 +00:00
test_time.rb * time.c: raise exception when minutes of utc_offset is out of 00-59. 2014-09-21 16:58:47 +00:00
test_time_tz.rb * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g. 2014-09-22 03:12:23 +00:00
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb test_proc.rb: test_local_variables_in_other_context 2014-07-01 17:14:19 +00:00
test_weakmap.rb * include/ruby/ruby.h: freeze nil/true/false. 2014-09-11 05:37:32 +00:00
test_whileuntil.rb
test_yield.rb test_yield.rb: use temporary instance 2014-09-13 00:47:02 +00:00
ut_eof.rb