search for: 2029c435f

Displaying 1 result from an estimated 1 matches for "2029c435f".

2020 Feb 19
1
[PATCH] ruby: change value of 'readonly' drive toption to Boolean in doc/example/test
...V[0] g = Guestfs::Guestfs.new() # Attach the disk image read-only to libguestfs. -g.add_drive_opts(disk, :readonly => 1) +g.add_drive_opts(disk, :readonly => true) # Run the libguestfs back-end. g.launch() diff --git a/ruby/t/tc_070_optargs.rb b/ruby/t/tc_070_optargs.rb index 987b52005..2029c435f 100644 --- a/ruby/t/tc_070_optargs.rb +++ b/ruby/t/tc_070_optargs.rb @@ -22,9 +22,9 @@ class Test070Optargs < MiniTest::Unit::TestCase g = Guestfs::Guestfs.new() g.add_drive("/dev/null", {}) - g.add_drive("/dev/null", :readonly => 1) - g.add_drive("/d...