Commit 7d816e34 authored by Harald Sitter's avatar Harald Sitter 🌼

quote file path

can contain spaces which would not be properly handled as we pass a
composite string through `Kernel.system` which in turn will `sh -c` it
parent 8976d73a
......@@ -76,7 +76,7 @@ Dir.mktmpdir do |tmpdir|
ENV.keys.each { |k| ENV.delete(k) if k.start_with?('XDG_') }
Dir.glob("#{__dir__}/*_test.rb").each do |test|
isolator = ENV['XEPHYR'] ? XephyrIsolator.new : XvfbIsolator.new
isolator.run("dbus-run-session -- ruby #{test} -p")
isolator.run("dbus-run-session -- ruby '#{test}' -p")
end
sleep 8 # Wait a bit to make sure all children are dead.
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment