Improve tests.

This commit is contained in:
Nodir Temirkhodjaev 2015-01-16 16:16:05 +05:00
parent bf3080fc4f
commit f6b8ec278a

View File

@ -7,7 +7,9 @@ local wipf = require"wipflua"
function get_procpath(id) function get_procpath(id)
local pid = sys.pid(id, true) local pid = sys.pid(id, true)
return (pid and pid:path()) or "" local path = (pid and pid:path()) or ""
pid:close()
return path
end end
function print_logs(buf) function print_logs(buf)