[Tarantool-patches] [PATCH 0/2] fio.tempdir() improvements

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Mar 1 21:26:43 MSK 2020


fio.tempdir() improvements to make it closer to POSIX.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-4794-tmpdir
Issue: https://github.com/tarantool/tarantool/issues/4794

@ChangeLog
- fio.tempdir() uses TMPDIR as a path to a place where to create
  temporary directories. Also it accepts a template name argument,
  like mkdtemp().

Vladislav Shpilevoy (2):
  fio: respect $TMPDIR in fio.tempdir(), when it is set
  fio: allow to pass a template to fio.tempdir()

 src/lib/core/coio_file.c |  76 ++++++++++++++++++++----
 src/lib/core/coio_file.h |   2 +-
 src/lua/fio.c            |   3 +-
 test/app/fio.result      | 121 +++++++++++++++++++++++++++++++++++++++
 test/app/fio.test.lua    |  44 ++++++++++++++
 5 files changed, 234 insertions(+), 12 deletions(-)

-- 
2.21.1 (Apple Git-122.3)



More information about the Tarantool-patches mailing list