blob: 2343fae0f520dfdf7bba396bdb4404f385925817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-- test/withrepo.lua
--
-- Gall -- Test utilities for when you have repositories
--
local _xpcall = xpcall
function xpcall(fn, tb)
os.execute("rm -rf test/test_repo")
local ok, msg = _xpcall(fn, tb)
os.execute("rm -rf test/test_repo")
return ok, msg
end
|