Project

General

Profile

Actions

Bug #4153

closed

Minitest or ruby bug - wrong return code

Bug #4153: Minitest or ruby bug - wrong return code

Added by rupert (Robert Pankowecki) almost 15 years ago. Updated over 14 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.2dev (2010-08-02 revision 28830) [i686-linux]
Backport:
[ruby-core:33690]

Description

=begin
It all started here: https://github.com/jnicklas/capybara/issues/#issue/178
It seems that there is a bug in minitest which leads to returning wrong error code by the script (0 instead of 1) when errors occurs.

You can find examples of scripts that exits with the wrong code at:
https://github.com/jnicklas/capybara/issues/#issue/178/comment/604897
https://github.com/jnicklas/capybara/issues/#issue/178/comment/605003

Robert Pankowecki
=end

Actions

Also available in: PDF Atom