Sha256: 66edc295b2ce49b325c52efab4eebadee4380fc36667d15bdc9999747f79202c
Contents?: true
Size: 549 Bytes
Versions: 4
Compression:
Stored size: 549 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe command('find / -name \'.rhosts\' | wc -l ') do its(:stdout) { should match(/^0/) } end describe command('find / -name \'hosts.equiv\' | wc -l ') do its(:stdout) { should match(/^0/) } end describe file('/etc/shadow') do it { should exist } it { should be_file } it { should be_owned_by 'root' } end describe command('echo $PATH | grep -ci \'\.\'') do its(:stdout) { should match(/^0/) } end describe file('/etc/login.defs') do its(:content) { should match(/^SU_NAME\s*su/) } end
Version data entries
4 entries across 4 versions & 1 rubygems