mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
add integration tests for file permissions on windows
This commit is contained in:
parent
961e815804
commit
a381e406c4
1 changed files with 6 additions and 0 deletions
|
@ -192,4 +192,10 @@ if os.windows?
|
|||
# Only works on Windows 2012 R2
|
||||
its('file_version') { should eq '6.3.9600.17415' }
|
||||
end
|
||||
|
||||
# read the owner of a file
|
||||
describe directory('C:/opscode/chef') do
|
||||
its('owner') { should cmp 'NT AUTHORITY\SYSTEM' }
|
||||
it { should be_owned_by 'NT AUTHORITY\SYSTEM' }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue