Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org,
	imun@tarantool.org
Subject: [Tarantool-patches] [PATCH 0/2] fio.tempdir() improvements
Date: Sun,  1 Mar 2020 19:26:43 +0100	[thread overview]
Message-ID: <cover.1583087036.git.v.shpilevoy@tarantool.org> (raw)

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)

             reply	other threads:[~2020-03-01 18:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01 18:26 Vladislav Shpilevoy [this message]
2020-03-01 18:26 ` [Tarantool-patches] [PATCH 1/2] fio: respect $TMPDIR in fio.tempdir(), when it is set Vladislav Shpilevoy
2020-03-01 18:26 ` [Tarantool-patches] [PATCH 2/2] fio: allow to pass a template to fio.tempdir() Vladislav Shpilevoy
2020-03-01 23:14 ` [Tarantool-patches] [PATCH 0/2] fio.tempdir() improvements Igor Munkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1583087036.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=imun@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/2] fio.tempdir() improvements' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox