Need quotes for spaces in path
This commit is contained in:
parent
a3de985307
commit
1b893ff653
1 changed files with 2 additions and 2 deletions
|
@ -19,12 +19,12 @@ describe 'fqdn_rotate function', :unless => UNSUPPORTED_PLATFORMS.include?(fact(
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
after :each do
|
after :each do
|
||||||
shell("if [ -f #{facts_d}/fqdn.txt ] ; then rm #{facts_d}/fqdn.txt ; fi")
|
shell("if [ -f '#{facts_d}/fqdn.txt' ] ; then rm '#{facts_d}/fqdn.txt' ; fi")
|
||||||
end
|
end
|
||||||
before :all do
|
before :all do
|
||||||
#No need to create on windows, PE creates by default
|
#No need to create on windows, PE creates by default
|
||||||
if fact('osfamily') !~ /windows/i
|
if fact('osfamily') !~ /windows/i
|
||||||
shell("mkdir -p #{facts_d}")
|
shell("mkdir -p '#{facts_d}'")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
it 'fqdn_rotates floats' do
|
it 'fqdn_rotates floats' do
|
||||||
|
|
Loading…
Reference in a new issue