This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
inspec
Watch
2
Star
0
Fork
You've already forked inspec
0
mirror of
https://github.com/inspec/inspec
synced
2024-12-22 11:03:11 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
f3fc535fee
inspec
/
test
/
unit
/
mock
/
cmd
/
get-wmiobject-filesystem
7 lines
104 B
Text
Raw
Normal View
History
Unescape
Escape
filesystem: improve Windows support (#3606) * Improve filesystem.rb to support windows improve filesystem.rb to support windows. Split into 2 classes LinuxFileSystemResource / WindowsFileSystemResource Add filesystem to verify a FS-type ( currently not for linux because missing test server ) Size on Windows is converted to GB - discussion about this welcome update to reflect also windows os * Create get-wmiobject-filesystem * Delete get-wmiobject-filesystem * Fix the testing code for filesystem. Change its 'filesystem' to 'type' according to recommendation from @miah Signed-off-by: Markus Hackethal <mh@it31.de>
2018-11-19 18:32:59 +00:00
{
"DeviceID": "c:",
Add size_kb, and correct Powershell code to return KB for both total size and free space, rather than total in GB and free space in bytes Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-01 05:39:52 +00:00
"Size": "40000000",
update helpers and mocks so tests run successfully Signed-off-by: James Massardo <jmassardo@chef.io>
2019-01-29 21:56:20 +00:00
"FileSystem": "NTFS",
Add size_kb, and correct Powershell code to return KB for both total size and free space, rather than total in GB and free space in bytes Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-02-01 05:39:52 +00:00
"FreeSpace": "30000000"
filesystem: improve Windows support (#3606) * Improve filesystem.rb to support windows improve filesystem.rb to support windows. Split into 2 classes LinuxFileSystemResource / WindowsFileSystemResource Add filesystem to verify a FS-type ( currently not for linux because missing test server ) Size on Windows is converted to GB - discussion about this welcome update to reflect also windows os * Create get-wmiobject-filesystem * Delete get-wmiobject-filesystem * Fix the testing code for filesystem. Change its 'filesystem' to 'type' according to recommendation from @miah Signed-off-by: Markus Hackethal <mh@it31.de>
2018-11-19 18:32:59 +00:00
}
Reference in a new issue
Copy permalink