mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
extend modify time and inode size
This commit is contained in:
parent
29e2105c52
commit
2a46af5f3d
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
# i.e. MTime == 60*60*1 is 1 hour of modification time range,
|
||||
# which translates to a modification time range of:
|
||||
# [ now-1hour, now ]
|
||||
MTime = 60 * 60 * 1
|
||||
MTime = 60 * 60 * 24 * 1
|
||||
|
||||
# Run all tests
|
||||
require 'minitest/autorun'
|
||||
|
|
|
@ -56,7 +56,7 @@ describe 'file interface' do
|
|||
|
||||
it 'has inode size' do
|
||||
# Must be around 11 Bytes, +- 4
|
||||
file.size.must_be_close_to(200, 198)
|
||||
file.size.must_be_close_to(4096, 4094)
|
||||
end
|
||||
|
||||
it 'has no selinux_label' do
|
||||
|
|
Loading…
Reference in a new issue