From: Robert Pankowecki Date: 2010-12-13T02:32:02+09:00 Subject: [ruby-core:33690] [Ruby 1.9-Bug#4153][Open] Minitest or ruby bug - wrong return code Bug #4153: Minitest or ruby bug - wrong return code http://redmine.ruby-lang.org/issues/show/4153 Author: Robert Pankowecki Status: Open, Priority: Normal ruby -v: ruby 1.9.2dev (2010-08-02 revision 28830) [i686-linux] 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 ---------------------------------------- http://redmine.ruby-lang.org