commit
660cf98c52
1 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ describe 'concat order' do
|
||||||
describe file('/tmp/concat/foo') do
|
describe file('/tmp/concat/foo') do
|
||||||
it { should be_file }
|
it { should be_file }
|
||||||
#XXX Solaris 10 doesn't support multi-line grep
|
#XXX Solaris 10 doesn't support multi-line grep
|
||||||
it("should contain string10\nstring1\nsring2", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/) {
|
it("should contain string10\nstring1\nsring2", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/)) {
|
||||||
should contain "string10\nstring1\nsring2"
|
should contain "string10\nstring1\nsring2"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -68,7 +68,7 @@ describe 'concat order' do
|
||||||
describe file('/tmp/concat/foo') do
|
describe file('/tmp/concat/foo') do
|
||||||
it { should be_file }
|
it { should be_file }
|
||||||
#XXX Solaris 10 doesn't support multi-line grep
|
#XXX Solaris 10 doesn't support multi-line grep
|
||||||
it("should contain string1\nstring2\nsring10", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/) {
|
it("should contain string1\nstring2\nsring10", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/)) {
|
||||||
should contain "string1\nstring2\nsring10"
|
should contain "string1\nstring2\nsring10"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -110,7 +110,7 @@ describe 'concat::fragment order' do
|
||||||
describe file('/tmp/concat/foo') do
|
describe file('/tmp/concat/foo') do
|
||||||
it { should be_file }
|
it { should be_file }
|
||||||
#XXX Solaris 10 doesn't support multi-line grep
|
#XXX Solaris 10 doesn't support multi-line grep
|
||||||
it("should contain string3\nstring2\nsring1", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/) {
|
it("should contain string3\nstring2\nsring1", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/)) {
|
||||||
should contain "string3\nstring2\nsring1"
|
should contain "string3\nstring2\nsring1"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -145,7 +145,7 @@ describe 'concat::fragment order' do
|
||||||
describe file('/tmp/concat/foo') do
|
describe file('/tmp/concat/foo') do
|
||||||
it { should be_file }
|
it { should be_file }
|
||||||
#XXX Solaris 10 doesn't support multi-line grep
|
#XXX Solaris 10 doesn't support multi-line grep
|
||||||
it("should contain string1\nstring2\nsring3", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/) {
|
it("should contain string1\nstring2\nsring3", :unless => fact('operatingsystemrelease').match(/^10_u\d+$/)) {
|
||||||
should contain "string1\nstring2\nsring3"
|
should contain "string1\nstring2\nsring3"
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue