search for: tc_070_optarg

Displaying 6 results from an estimated 6 matches for "tc_070_optarg".

Did you mean: tc_070_optargs
2020 Feb 19
1
[PATCH] ruby: change value of 'readonly' drive toption to Boolean in doc/example/test
...tics, that is, any value apart from `false` and `nil` will be true (see RTEST in Ruby C API). So its more idiomatic and provides a better hint if we use `g.add_drive_opt :readonly => true` in Ruby samples. --- ruby/examples/guestfs-ruby.pod | 2 +- ruby/examples/inspect_vm.rb | 2 +- ruby/t/tc_070_optargs.rb | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruby/examples/guestfs-ruby.pod b/ruby/examples/guestfs-ruby.pod index bd8bb3108..cb9bfd0e7 100644 --- a/ruby/examples/guestfs-ruby.pod +++ b/ruby/examples/guestfs-ruby.pod @@ -7,7 +7,7 @@ guestfs-ruby - How to use...
2016 Jun 07
0
[PATCH 2/2] ruby: tests: Give each test class and method a unique name.
...he tests are run. --- ruby/t/tc_010_load.rb | 4 ++-- ruby/t/tc_020_create.rb | 4 ++-- ruby/t/tc_030_create_flags.rb | 4 ++-- ruby/t/tc_040_create_multiple.rb | 4 ++-- ruby/t/tc_050_handle_properties.rb | 4 ++-- ruby/t/tc_060_explicit_close.rb | 4 ++-- ruby/t/tc_070_optargs.rb | 4 ++-- ruby/t/tc_090_retvalues.rb | 4 ++-- ruby/t/tc_100_launch.rb | 4 ++-- ruby/t/tc_410_close_event.rb | 4 ++-- ruby/t/tc_420_log_messages.rb | 4 ++-- ruby/t/tc_800_rhbz507346.rb | 4 ++-- ruby/t/tc_810_rhbz664558c6.rb | 4 ++-- ruby/...
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
2013 Dec 27
0
[PATCH] ruby: Fix .new method (RHBZ#1046509).
...++++++++++++++++++++++-------- ruby/t/tc_020_create.rb | 2 +- ruby/t/tc_030_create_flags.rb | 29 +++++++++++ ruby/t/tc_040_create_multiple.rb | 32 +++++++++++++ ruby/t/tc_050_handle_properties.rb | 36 ++++++++++++++ ruby/t/tc_060_explicit_close.rb | 29 +++++++++++ ruby/t/tc_070_optargs.rb | 2 +- ruby/t/tc_100_launch.rb | 2 +- ruby/t/tc_410_close_event.rb | 2 +- ruby/t/tc_420_log_messages.rb | 2 +- ruby/t/tc_800_rhbz507346.rb | 2 +- ruby/t/tc_810_rhbz664558c6.rb | 2 +- ruby/t/tc_820_rhbz1046509.rb | 42 ++++++++++++++++...
2017 Jun 27
3
[PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
If the connection is not local, paths of disks will refer to the remote host, which were mistakenly handled as local paths (in the best case failing to open a non-existing disk, and in the worst case opening a different disk!). In case the disks are remote resources like ssh or ceph, nothing guarantees that the hostname can be reached from the local machine, or even that it is actually the same on
2017 Jul 07
4
[PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Hopefully this time ...