1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
Takashi Kokubun 967ae6278f
Run rb_syswait on exec failure
not only when !w but also when w == WAITPID_LOCK_ONLY.
See also: f7c0cc3692 and a226434206.
We thought this change was an oversight in the latter commit.

Without this change, the test fails like:

$ make test-all TESTS="../test/ruby/test_process.rb -n test_exec_failure_leaves_no_child" RUN_OPTS="--jit"
...
  1) Failure:
TestProcess#test_exec_failure_leaves_no_child [/home/k0kubun/src/github.com/ruby/ruby/test/ruby/test_process.rb:2493]:
Expected [[26799, #<Process::Status: pid 26799 exit 127>]] to be empty.

Co-Authored-By: Yusuke Endoh <mame@ruby-lang.org>
2020-05-10 00:59:55 -07:00
..
-ext- Fix rb_profile_frame_classpath to handle module singletons 2020-05-07 08:46:36 -07:00
base64
benchmark
bigdecimal
cgi need to restore $stdin. 2020-03-02 13:14:38 +09:00
coverage
csv Fixed for older versions 2020-02-26 10:16:32 +09:00
date
dbm
did_you_mean
digest test/digest/test_digest.rb: Apply EnvUtil.apply_timeout_scale to timeout 2020-03-27 15:32:52 +09:00
drb Skip test_06_timeout for --jit-wait CI 2020-03-08 22:34:33 -07:00
dtrace
erb
etc
excludes
fiddle Dir.glob always returns an array 2020-04-01 12:48:56 +09:00
fileutils
gdbm
io Use %w instead of %i not to create unused IDs 2020-05-09 20:13:30 +09:00
irb Fix typos 2020-05-09 14:22:04 +09:00
json test/json/test_helper.rb: Do not add a relative path to $LOAD_PATH 2020-03-24 10:45:52 +09:00
lib Split compile and link for MinGW support 2020-05-03 16:41:25 -07:00
logger
matrix [ruby/matrix] Add Matrix#adjoint [#14] 2020-05-01 03:25:15 -04:00
mkmf
monitor
net [ruby/net-ftp] Added guard condition for the old ruby versions 2020-04-08 15:51:18 +09:00
nkf
objspace
open-uri
openssl test/openssl/test_ssl.rb: ignore SSLError when the connection is closed 2020-03-21 15:46:33 +09:00
optparse
ostruct
pathname
psych
racc
rdoc Fix failures of test/rdoc/test_rdoc_ri_paths.rb 2020-04-26 16:14:14 +09:00
readline Set Readline.completion_append_character = nil always 2020-02-29 03:32:36 +09:00
reline [ruby/reline] Negative history_size means unlimited 2020-04-29 19:13:14 +09:00
resolv
rinda
ripper Removed unnecessary RLIMIT_AS 2020-04-28 23:36:16 +09:00
ruby Run rb_syswait on exec failure 2020-05-10 00:59:55 -07:00
rubygems Run rb_syswait on exec failure 2020-05-10 00:59:55 -07:00
sdbm
socket Fixed leaked fds 2020-05-06 12:45:01 +09:00
stringio [ruby/stringio] StringIO#initialize default to the source string encoding 2020-03-15 18:43:01 +09:00
strscan
syslog
uri Fakes IPSocket.getaddress in the whole method 2020-05-06 16:06:25 +09:00
webrick restore server[:DocumentRootOptions] setting. 2020-02-29 00:43:41 +09:00
win32ole
yaml
zlib
runner.rb
test_abbrev.rb
test_delegate.rb
test_extlibs.rb
test_find.rb
test_forwardable.rb
test_ipaddr.rb
test_mutex_m.rb
test_observer.rb
test_open3.rb
test_pp.rb Mask RubyVM-specific test 2020-03-05 16:49:27 -06:00
test_prettyprint.rb
test_prime.rb [ruby/prime] Fix Prime.include? 2020-03-06 20:54:33 +09:00
test_pstore.rb
test_pty.rb
test_rbconfig.rb Make RbConfig::CONFIG values mutable [Bug #16738] 2020-03-25 22:09:28 +09:00
test_securerandom.rb
test_set.rb
test_shellwords.rb
test_singleton.rb
test_syslog.rb Update some syslog tests to absurb the format change of FreeBSD syslog 2020-03-12 15:30:20 +09:00
test_tempfile.rb
test_time.rb
test_timeout.rb
test_tmpdir.rb
test_tracer.rb
test_tsort.rb
test_unicode_normalize.rb
test_weakref.rb
test_win32api.rb