search for: 60dd345

Displaying 2 results from an estimated 2 matches for "60dd345".

2016 Jun 07
0
[PATCH 2/2] ruby: tests: Give each test class and method a unique name.
...') -class TestLoad < MiniTest::Unit::TestCase - def test_events +class Test420LogMessages < MiniTest::Unit::TestCase + def test_420_log_messages g = Guestfs::Guestfs.new() log_invoked = 0 diff --git a/ruby/t/tc_800_rhbz507346.rb b/ruby/t/tc_800_rhbz507346.rb index eb516fb..60dd345 100644 --- a/ruby/t/tc_800_rhbz507346.rb +++ b/ruby/t/tc_800_rhbz507346.rb @@ -17,8 +17,8 @@ require File::join(File::dirname(__FILE__), 'test_helper') -class TestLoad < MiniTest::Unit::TestCase - def test_rhbz507346 +class Test800RHBZ507346 < MiniTest::Unit::TestCase + def tes...
2016 Jun 07
3
[PATCH 1/2] ruby: Print exceptions thrown by event callbacks.
--- generator/ruby.ml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/generator/ruby.ml b/generator/ruby.ml index 97ccfdc..0f71ccc 100644 --- a/generator/ruby.ml +++ b/generator/ruby.ml @@ -404,15 +404,17 @@ event_callback_wrapper_wrapper (VALUE argvv) return Qnil; } +/* Callbacks aren't supposed to throw exceptions. We just print the + * exception on