mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ruby: Add binding for guestfs_event_to_string.
This commit is contained in:
@@ -28,7 +28,8 @@ class TestLoad < Test::Unit::TestCase
|
||||
if event == Guestfs::EVENT_APPLIANCE
|
||||
buf.chomp!
|
||||
end
|
||||
puts "ruby event logged: event=#{event} eh=#{event_handle} buf='#{buf}' array=#{array}"
|
||||
event_string = Guestfs::event_to_string(event)
|
||||
puts "ruby event logged: event=#{event_string} eh=#{event_handle} buf='#{buf}' array=#{array}"
|
||||
}
|
||||
|
||||
close_invoked = 0
|
||||
|
||||
Reference in New Issue
Block a user