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
akr b574a4d4a1 * include/ruby/intern.h (rb_fd_set_cloexec): declared.
* io.c (rb_fd_set_cloexec): new function.
  (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
  (rb_sysopen_internal): ditto.
  (rb_pipe): ditto.
  (io_reopen): ditto.
  (io_cntl): ditto.

* process.c (rb_f_exec): change the default :close_others option to
  true.
  (rb_f_system): ditto.
  (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
  close-on-exec flag.
  (ruby_setsid): ditto.
  (rb_daemon): ditto.

* thread_pthread.c (rb_thread_create_timer_thread): call
  rb_fd_set_cloexec to set close-on-exec flag.

* ruby.c (load_file_internal): ditto.

* file.c (rb_file_s_truncate): ditto.
  (file_load_ok): ditto.

* random.c (fill_random_seed): ditto.

* ext/pty/pty.c (chfunc): ditto.
  (get_device_once): ditto.

* ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.

* ext/socket/init.c (rsock_socket): ditto.
  (rsock_s_accept_nonblock): ditto.
  (rsock_s_accept): ditto.

* ext/socket/socket.c (rsock_sock_s_socketpair): ditto.

* ext/socket/ancdata.c (discard_cmsg): ditto.
  (make_io_for_unix_rights): ditto.

* ext/socket/unixsocket.c (unix_recv_io): ditto.

* ext/io/console/console.c (console_dev): ditto.

[ruby-core:38140] [Feature #5041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-22 09:58:15 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb * gc.c (add_heap_slots, init_heap): reset heaps_inc zero when 2011-10-01 01:00:40 +00:00
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb * io.c (argf_next_argv): open in default text mode. 2011-09-03 14:52:18 +00:00
test_array.rb Fix wrong expectaion of r33363. 2011-09-30 00:18:18 +00:00
test_assignment.rb
test_autoload.rb * insns.def (defineclass), vm_insnhelper.c (vm_get_cvar_base): see 2011-09-01 08:31:24 +00:00
test_basicinstructions.rb
test_beginendblock.rb * eval_jump.c (rb_exec_end_proc): changed at_exit and END proc 2011-02-16 11:42:03 +00:00
test_bignum.rb * test/ruby/test_bignum.rb: use more descriptive assertions. 2011-09-30 19:50:38 +00:00
test_call.rb
test_case.rb
test_class.rb * object.c (rb_obj_clone): singleton class should be attached 2011-09-18 22:54:25 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb * complex.c (nucomp_rationalize): calls rationalize of real part if 2011-08-10 10:35:08 +00:00
test_complex2.rb * test/ruby/test_{complex2,complexrational}.rb: use skip. 2011-05-08 13:18:47 +00:00
test_complexrational.rb * test/ruby/test_{complex2,complexrational}.rb: use skip. 2011-05-08 13:18:47 +00:00
test_condition.rb
test_const.rb * variable.c (rb_const_set): show the previous definition 2011-09-03 15:11:53 +00:00
test_continuation.rb * thread.c (set_trace_func, thread_set_trace_func_m): reset tracing 2011-07-21 11:09:52 +00:00
test_defined.rb * vm_insnhelper.h (COPY_CREF): should copy 2011-03-30 05:38:50 +00:00
test_dir.rb
test_dir_m17n.rb * test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on 2011-03-25 02:50:17 +00:00
test_econv.rb * transcode.c: enabled econv newline option. 2011-09-06 03:07:16 +00:00
test_encoding.rb * encoding.c (require_enc): reject only loading from untrusted 2011-09-25 07:54:35 +00:00
test_enum.rb * enum.c (slice_before_i): use rb_attr_get to surpress wrong warning 2011-09-24 18:43:32 +00:00
test_enumerator.rb
test_env.rb try and catch for the test of setenv(3). 2011-05-29 16:49:14 +00:00
test_eval.rb * vm_insnhelper.c (vm_cref_push): no outer cref is needed for proc 2010-09-23 00:01:40 +00:00
test_exception.rb * test/ruby/test_exception.rb (TestException#test_exit_success_p): 2011-09-12 03:42:39 +00:00
test_fiber.rb * test/ruby/test_fiber.rb (TestFiber#test_no_valid_cfp): 2011-09-03 15:54:44 +00:00
test_file.rb
test_file_exhaustive.rb * test/ruby/test_file_exhaustive.rb (TestFileExhaustive::test_expand_path): 2010-09-16 06:03:13 +00:00
test_fixnum.rb * numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted for 2011-08-29 01:07:15 +00:00
test_float.rb Revert r33407; half-baked patch. 2011-10-05 07:36:28 +00:00
test_fnmatch.rb
test_gc.rb * gc.c (rb_gc_set_params): ruby_verbose can be Qnil, so use RTEST. 2011-10-04 02:44:55 +00:00
test_hash.rb * hash.c (recursive_hash): hash value of emptied hash should be 2011-08-02 03:03:18 +00:00
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
test_io_m17n.rb * test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish, 2011-09-01 01:22:58 +00:00
test_iterator.rb
test_lambda.rb * compile.c (setup_args), vm.c (invoke_block_from_c), 2010-12-20 21:10:24 +00:00
test_literal.rb * parse.y (parser_tokadd_string, parser_yylex): ignore a backslash 2011-09-02 00:58:10 +00:00
test_m17n.rb * numeric.c (rb_enc_uint_chr): fix message format. Bug#4869 2011-06-11 07:52:34 +00:00
test_m17n_comb.rb * encoding.c (rb_enc_compatible): change the rule for empty strings: 2011-02-15 07:08:15 +00:00
test_marshal.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_math.rb
test_metaclass.rb
test_method.rb * iseq.c (iseq_s_disasm): fix a bug that may cause SEGV. 2011-08-20 04:26:20 +00:00
test_mixed_unicode_escapes.rb
test_module.rb * test/-ext-/symbol/test_inadvertent_creation.rb: moved tests from 2011-10-07 08:57:42 +00:00
test_notimp.rb * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
test_numeric.rb * test/ruby/test_numeric.rb (test_num2long): modify a test agaist the 2011-08-29 14:24:31 +00:00
test_object.rb * test/ruby/test_object.rb: tests that respond_to? returns false. 2011-08-05 06:55:36 +00:00
test_objectspace.rb
test_optimization.rb * vm.c (rb_thread_mark): should mark self in conrol 2010-11-23 09:54:07 +00:00
test_pack.rb * lib/test/unit.rb (assert_include): add alias. 2011-02-12 14:17:54 +00:00
test_parse.rb
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb * vm_eval.c (check_funcall): try respond_to? first if redefined. 2011-08-05 03:18:25 +00:00
test_process.rb * include/ruby/intern.h (rb_fd_set_cloexec): declared. 2011-10-22 09:58:15 +00:00
test_rand.rb * test/ruby/test_rand.rb (test_random_bytes): fold mysteriously 2011-06-30 11:35:04 +00:00
test_range.rb * range.c (range_max): fix behavior with excluded end value. 2011-07-10 00:47:31 +00:00
test_rational.rb * rational.c (nurat_coerce): Rational#coerce should converts itself 2011-08-17 01:24:22 +00:00
test_rational2.rb
test_readpartial.rb
test_regexp.rb * re.c (Init_Regexp): added a constant for ARG_ENCODING_NONE 2011-02-02 22:18:14 +00:00
test_require.rb * include/ruby/defines.h (CASEFOLD_FILESYSTEM): Revert r30508. See #4255. 2011-05-22 12:52:18 +00:00
test_rubyoptions.rb * test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty 2011-08-24 16:23:23 +00:00
test_settracefunc.rb * vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event 2011-06-30 13:34:53 +00:00
test_signal.rb * signal.c (reserved_signal_p): reverted a part of r32523. 2011-07-12 11:04:58 +00:00
test_sleep.rb
test_sprintf.rb * vsnprintf.c (BSD_vfprintf): don't output floating point 2010-11-22 16:06:38 +00:00
test_sprintf_comb.rb Revert "* sprintf.c (rb_str_format): fix: sprintf with hex format and" 2010-10-15 08:31:58 +00:00
test_string.rb cancel subversion backfire. sorry 2011-03-07 08:44:45 +00:00
test_stringchar.rb * string.c (rb_str_dump): fix expected length. [ruby-core:32935] 2010-10-28 18:04:23 +00:00
test_struct.rb * error.c (rb_check_trusted): new function to check an object is 2011-07-17 07:26:45 +00:00
test_super.rb * remove trailing spaces. 2011-05-15 11:55:52 +00:00
test_symbol.rb * test/-ext-/symbol/test_inadvertent_creation.rb: moved tests from 2011-10-07 08:57:42 +00:00
test_syntax.rb * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name 2011-06-01 06:41:33 +00:00
test_system.rb cancel subversion backfire. sorry 2011-03-07 08:44:45 +00:00
test_thread.rb Revert test fixes. 2011-09-10 10:34:15 +00:00
test_time.rb * strftime.c (rb_strftime_with_timespec): get enc argument to specify 2011-08-27 09:18:18 +00:00
test_time_tz.rb
test_trace.rb
test_transcode.rb * test/ruby/test_transcode.rb (TestTranscode#test_Big5_Hkscs): fix 2011-06-10 04:02:11 +00:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb * insns.def (defined): fix to checking class variable. 2011-08-24 00:52:04 +00:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb