File tree Expand file tree Collapse file tree
test/integration/dd-agent/serverspec Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 it { is_expected . to be_running }
1111 end
1212
13- describe command ( 'rpm -q gpg-pubkey-4172a230-55dd14f6' ) , :if => os [ :family ] == 'redhat' do
14- its ( :stdout ) { should match " package gpg-pubkey-4172a230-55dd14f6 is not installed" }
15- its ( :exit_status ) { should eq 1 }
13+ describe command ( 'rpm -q gpg-pubkey-4172a230-55dd14f6' ) , if : os [ :family ] == 'redhat' do
14+ its ( :stdout ) { is_expected . to match ' package gpg-pubkey-4172a230-55dd14f6 is not installed' }
15+ its ( :exit_status ) { is_expected . to eq 1 }
1616 end
1717
18- describe command ( 'rpm -q gpg-pubkey-4172a230-55dd14f6' ) , :if => os [ :family ] == 'opensuse' do
19- its ( :stdout ) { should match " package gpg-pubkey-4172a230-55dd14f6 is not installed" }
20- its ( :exit_status ) { should eq 1 }
18+ describe command ( 'rpm -q gpg-pubkey-4172a230-55dd14f6' ) , if : os [ :family ] == 'opensuse' do
19+ its ( :stdout ) { is_expected . to match ' package gpg-pubkey-4172a230-55dd14f6 is not installed' }
20+ its ( :exit_status ) { is_expected . to eq 1 }
2121 end
2222end
You can’t perform that action at this time.
0 commit comments