Project

General

Profile

Actions

Bug #9211

closed

Bug in can_detect_signals? in test/rake/test_rake_functional.rb

Added by snaury (Alexey Borzenkov) over 10 years ago. Updated over 10 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-12-04 trunk 43989) [x86_64-linux]
[ruby-core:58852]

Description

In function can_detect_signals? in file test/rake/test_rake_functional.rb ruby is spawned incorrectly. There should be multiple parameters in a system call, since otherwise ruby is spawned from a shell, status ends up in a shell, and shell is not killed with a signal (obviously). Currently this causes test_signal_propagation_in_tests to be skipped on Linux. Attached patch fixes the problem, test is no longer skipped and now passes on Linux.


Files

0002-rake-test.patch (470 Bytes) 0002-rake-test.patch snaury (Alexey Borzenkov), 12/04/2013 11:43 PM
Actions

Also available in: Atom PDF

Like0
Like0