Commit 1f9711e2 authored by Harald Sitter's avatar Harald Sitter 🌼

spawn without going through sh first

less overhead and bypassing shell path escaping (i.e. ci paths have spaces)
parent b6130589
......@@ -109,7 +109,11 @@ class TestDuplicateAttach < ATSPITest
assert File.exist?(DRKONQI_PATH), "drkonqi not at #{DRKONQI_PATH}"
# Will die with our Xephyr in case of errors.
pid = spawn("#{DRKONQI_PATH} --signal 11 --pid #{@tracee} --bugaddress submit@bugs.kde.org --dialog")
pid = spawn("#{DRKONQI_PATH}",
"--signal", "11",
"--pid", @tracee.to_s,
"--bugaddress", "submit@bugs.kde.org",
"--dialog")
sleep 4 # Grace to give time to appear on at-spi
assert_nil Process.waitpid(pid, Process::WNOHANG),
'drkonqi failed to start or died'
......
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