mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:46:03 +00:00
Improve tests.
This commit is contained in:
parent
bf3080fc4f
commit
f6b8ec278a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user