Fixes for PE3.3.
This commit is contained in:
parent
0cda858744
commit
08f7553fb6
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact(
|
|||
shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
|
||||
end
|
||||
it 'fqdn_rotates floats' do
|
||||
shell("mkdir -p #{facts_d}")
|
||||
shell("echo 'fqdn=fakehost.localdomain' > #{facts_d}/fqdn.txt")
|
||||
pp = <<-EOS
|
||||
$a = ['a','b','c','d']
|
||||
|
|
|
@ -26,7 +26,7 @@ describe 'parseyaml function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('o
|
|||
EOS
|
||||
|
||||
apply_manifest(pp, :expect_failures => true) do |r|
|
||||
expect(r.stderr).to match(/syntax error/)
|
||||
expect(r.stderr).to match(/(syntax error|did not find expected key)/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue