From: brian.kejser@... Date: 2006-09-09T02:03:51+09:00 Subject: ERRORLEVEL not set correctly on exception Hi If I run the following code, then the DOS ERRORLEVEL is set to 1 as expected. Timeout.timeout(1) { sleep(5) } If I run the following code, then the DOS ERRORLEVEL is also set to 1 as expected. require 'test/unit' class some_Test < Test::Unit::TestCase def test_something assert(false, "Failure") end end If I run the following code, then the DOS ERRORLEVEL is set to 0. require 'test/unit' class some_Test < Test::Unit::TestCase def test_something Timeout.timeout(1) { sleep(5) } end end Shouldn't the DOS ERRORLEVEL be 1 in the above case? Is this a bug or am I missing something? Thanks