spec/solaris/commads_spec.rb in serverspec-0.1.5 vs spec/solaris/commads_spec.rb in serverspec-0.1.6

- old
+ new

@@ -33,10 +33,10 @@ describe commands.check_running('httpd') do it { should eq "svcs -l httpd status 2> /dev/null |grep 'state online'" } end describe commands.check_process('httpd') do - it { should eq 'ps aux | grep -qw httpd' } + it { should eq 'ps aux | grep -w httpd | grep -qv grep' } end describe commands.check_file_contain('/etc/passwd', 'root') do it { should eq "grep -q 'root' /etc/passwd" } end