diff options
| author | OpportunityLiu <[email protected]> | 2019-07-16 16:49:39 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-07-16 16:49:39 +0800 |
| commit | a0192acccc14a218b79d73ed6013f5862abefd4f (patch) | |
| tree | 4e0f85a5e34f1f1be56128d68f37d871ffff02c6 /tests/runner.lua | |
| parent | bfeab8e24d26c92b8f52cf5aba431920e3bc6f11 (diff) | |
use tempdir for test
Diffstat (limited to 'tests/runner.lua')
| -rw-r--r-- | tests/runner.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.lua b/tests/runner.lua index 227e66a7f..c99142170 100644 --- a/tests/runner.lua +++ b/tests/runner.lua @@ -44,6 +44,8 @@ function main(script) local result = try { function () + -- set workdir for each test + os.cd(root) return v(context) end, catch |
