diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-05 00:40:14 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-05 00:40:14 +0000 |
commit | 033e8e5b61fa4f800900b5d7487c575014b3761b (patch) | |
tree | e70c4283ac35cc5fe7b07de8c996399d089d210a /ChangeLog | |
parent | 4ea870cdb1dc6c6ca6a3b26bcf0242ef999eea2f (diff) | |
download | ruby-033e8e5b61fa4f800900b5d7487c575014b3761b.tar.gz |
test/ruby/test_process.rb: test for fd=3 usability in child
Ensure we can redirect anything to fd=3 in a child process. This
test exists because fd=3 is a commonly reserved FD for a timer
thread pipe in the parent Ruby VM, but fd=3 is the first FD used by
the sd_listen_fds function for systemd.
This means there is a possibility for a bug to slip in where the
redirect to fd=3 fails to work. This test should ensure the
continued viability of systemd replacements in Ruby :>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Jul 5 09:31:40 2015 Eric Wong <e@80x24.org> + + * test/ruby/test_process.rb: test for fd=3 usability in child + Sat Jul 4 19:43:31 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> * Add test case for empty array and first method with args. |