Skip to content

Commit df75c6e

Browse files
committed
redirect kill's stderr as it causes too much noise
1 parent cda3caf commit df75c6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/spec/test_support.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ local function kill(pid, signal)
537537
else
538538
signal = "-" .. signal .. " "
539539
end
540-
return os.execute("/bin/kill " .. signal .. pid)
540+
return os.execute("/bin/sh -c '/bin/kill " .. signal .. pid .. "' 2>/dev/null")
541541
end
542542

543543
local function is_running(pid)

0 commit comments

Comments
 (0)