lib/beaker/host/pswindows/group.rb in beaker-3.37.0 vs lib/beaker/host/pswindows/group.rb in beaker-4.0.0
- old
+ new
@@ -17,9 +17,10 @@
def group_get(name, &block)
execute("net localgroup \"#{name}\"") do |result|
fail_test "failed to get group #{name}" if result.exit_code != 0
yield result if block_given?
+ result
end
end
def group_gid(name)
raise NotImplementedError, "Can't retrieve group gid on a Windows host"