Actions
Bug #5197
closedat_exit order has changed in 1.9.3dev32413
Description
I could have sworn I filed or mailed this before, but I can't find it. Sorry if this is a dupe.
#!/usr/bin/ruby -w
happy = false
at_exit { happy = true } # test runner
at_exit { at_exit { abort "not happy!" unless happy } } # after test hook
multiruby produces:¶
VERSION = mri_trunk¶
CMD = ~/.multiruby/install/mri_trunk/bin/ruby -v -Ilib bug4.rb¶
ruby 1.9.3dev (2011-07-05 trunk 32413) [x86_64-darwin10.8.0]¶
not happy!¶
RESULT = 256¶
VERSION = 1.8.7-p330¶
CMD = ~/.multiruby/install/1.8.7-p330/bin/ruby -v -Ilib bug4.rb¶
ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10.5.0]¶
RESULT = 0¶
VERSION = 1.9.2-p136¶
CMD = ~/.multiruby/install/1.9.2-p136/bin/ruby -v -Ilib bug4.rb¶
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.5.0]¶
RESULT = 0¶
TOTAL RESULT = 1 failures out of 3¶
Actions
Like0
Like0Like0Like0Like0