lua: Don't try to delete test dirs multiple times

After deleting the test dirs, remove them from the list so they are not
attempted to be deleted after the next test.
parent b10d9e46
......@@ -436,4 +436,5 @@ function teardown()
B.info_dir = orig_info_dir
B.root_dir= orig_root_dir
utils.cleanup_dirs(tmp_dirs)
tmp_dirs = {}
end
......@@ -70,4 +70,5 @@ end
function teardown()
utils.cleanup_dirs(tmp_dirs)
tmp_dirs = {}
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment