Sha256: 49487aa2fd089b6e81bd2451719ff3c1044ee48e89551d032034fc30e295b49d

Contents?: true

Size: 348 Bytes

Versions: 211

Compression:

Stored size: 348 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'linux'

describe get_command(:check_file_is_immutable, 'some_file') do
  it { should eq "lsattr -d some_file 2>&1 | awk '$1~/^[A-Za-z-]+$/ && $1~/i/ {exit 0} {exit 1}'" } 
end

describe get_command(:get_file_selinuxlabel, 'some_file') do
  it { should eq 'stat -c %C some_file' }
end

Version data entries

211 entries across 211 versions & 3 rubygems

Version Path
specinfra-2.82.25 spec/command/linux/file_spec.rb
specinfra-2.82.24 spec/command/linux/file_spec.rb
specinfra-2.82.23 spec/command/linux/file_spec.rb
specinfra-2.82.22 spec/command/linux/file_spec.rb
specinfra-2.82.21 spec/command/linux/file_spec.rb
specinfra-2.82.20 spec/command/linux/file_spec.rb
specinfra-2.82.19 spec/command/linux/file_spec.rb
specinfra-2.82.18 spec/command/linux/file_spec.rb
specinfra-2.82.17 spec/command/linux/file_spec.rb
specinfra-2.82.16 spec/command/linux/file_spec.rb
specinfra-2.82.15 spec/command/linux/file_spec.rb
specinfra-2.82.14 spec/command/linux/file_spec.rb
specinfra-2.82.13 spec/command/linux/file_spec.rb
specinfra-2.82.12 spec/command/linux/file_spec.rb
specinfra-2.82.11 spec/command/linux/file_spec.rb
specinfra-2.82.10 spec/command/linux/file_spec.rb
specinfra-2.82.9 spec/command/linux/file_spec.rb
specinfra-2.82.8 spec/command/linux/file_spec.rb
specinfra-2.82.7 spec/command/linux/file_spec.rb
specinfra-2.82.6 spec/command/linux/file_spec.rb