summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
AgeCommit message (Collapse)Author
2011-03-25* test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently onusa
Windows, because this tests a platform specific feature and it'll never be supported on ruby on Windows. * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_filename_extutf8_invalid, TestDir_M17N#test_filename_as_bytes_extutf8): ditto. * test/open-uri/test_open-uri.rb (TestOpenURI#test_find_proxy_case_sensitive_env): ditto. * test/dl/test_handle.rb (DL::TestHandle#test_NEXT, DL::TestHandle#test_DEFAULT): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10* process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroupskosaki
and Process#maxgroups= now raise NotImplementedError if the platform don't support supplementary groups concept. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07cancel subversion backfire. sorrymatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07* gc.c (rb_gc_set_params): allow GC parameter configuration bymatz
environment variables. based on a patch from funny-falcon at https://gist.github.com/856296, but honors safe level. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* process.c (check_exec_redirect_fd, check_exec_redirect): raiseusa
ArgumentError if fd >= 3 on Windows because the feature is not supported. * test/ruby/test_process.rb (test_execopts_redirect): remove meaningless argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03* test/ruby/test_process.rb (test_execopts_redirect): redirecting fdusa
>= 3 is not supported on Windows, so should not specify such options when calling spawn or others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07TestProcess#test_wait_and_sigchild randomly fails on FreeBSDnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-28* test/ruby/test_process.rb (TestProcess#test_too_long_path{,2}):usa
should handle Errno::E2BIG, because this test checks crash of ruby, not the error type system. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * test/ruby/test_process.rb (TestProcess#test_too_long_path)kosaki
TestProcess#test_too_long_path): Reduced string size from 100MB to 10MB. 100MB may cause no memory error. It isn't intended. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 * test/ruby/test_process.rb (TestProcess#test_too_long_path2):kosaki
Factored out from test_too_long_path. A test should only do one test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-26* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)nobu
(proc_spawn_n, proc_spawn): get rid of too huge alloca(). [ruby-core:34827], [ruby-core:34833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14Reduced gem_prelude to just require rubygems. Reviewed by Evan Phoenixryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16Refix timing problem.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-15Avoid timing problem.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05* test/ruby/test_{process,system}.rb (test_fallback_to_sh):nobu
meaningless and wrong tests where /bin/sh does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04* process.c (proc_exec_v, proc_spawn_v): try to execute with sh ifnobu
no shebang. [ruby-core:32745] [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11* process.c (rlimit_resource_name2int): support more limits:akr
RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_RTPRIO, RLIMIT_RTTIME and RLIMIT_SIGPENDING. (Init_process): ditto. patch by Run Paint Run Run. [ruby-core:32262] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25refine an assertion.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-24add an assertion.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23* process.c (rb_f_spawn): use correct command name for the errornobu
message. [ruby-dev:41395] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-14* test/ruby/test_process.rb: skip some tests on Windows.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13* test/ruby/test_process.rb: skip some tests on Windows.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06fix a test.akr
OpenSolaris cannot remove the current directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12* test/ruby/test_process.rb (test_execopts_env): MANDATORY_ENVS mightwanabe
not be a part of ENV. e.g. TMPDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12delete RUBYLIB for ruby spawned in test_no_curdir.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-11add ML ref.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-11add a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-05Retry on checking signal_received.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13* test/ruby/test_process.rb (test_rlimit_value): rlim_max may benobu
higher than rlim_cur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-22* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL asnobu
application name for batch files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20* test/ruby/test_process.rb (test_popen_shell): test for [ruby-core:22960].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20* test/ruby/test_process.rb: skips tests need fd inheritance.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-08specify exception class for rescue clause.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-07test setrlimit in a child process.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-06no need to restore rlimit in child process.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-22* test/ruby/test_process.rb: mswin specs.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-22* test/ruby/test_process.rb (MANDATORY_ENVS): needs RUBYLIB to runnobu
tests without install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-11* test/ruby/test_process.rb (TestProcess#test_wait_and_sigchild):naruse
Add rescue NotImplementedError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* test/ruby/test_process.rb (TestProcess::MANDATORY_ENVS): somenobu
platforms need environments for shared objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-02* test/ruby/test_process.rb (test_wait_and_sigchild): remove debugmame
output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-29* process.c (rb_waitpid): retries waitpid when EINTR.yugui
[ruby-core:19744]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* test/ruby/test_process.rb: skip some tests on win32.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* process.c (check_exec_fds): resolve cascaded child fd reference.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* process.c (EXEC_OPTION_DUP2_CHILD): defined.akr
(check_exec_redirect_fd): check :in, :out and :err. (check_exec_redirect): check [:child, fd]. (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array. (run_exec_dup2_child): new function. (rb_run_exec_options): call run_exec_dup2_child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* process.c (check_exec_redirect): accept :in, :out, :err as redirectakr
target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-23* test/ruby/test_process.rb (TestProcess#test_rlimit_value): add ↵kazu
Errno::EINVAL. [ruby-dev:35900] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-21* process.c (pst_pid): use rb_attr_get to avoid warning onakr
Process::Status.allocate.pid. (pst_inspect): don't raise if self is not initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-06add comment.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e