From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 07673469719 for ; Sun, 1 Mar 2020 21:26:47 +0300 (MSK) From: Vladislav Shpilevoy Date: Sun, 1 Mar 2020 19:26:43 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/2] fio.tempdir() improvements List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org, korablev@tarantool.org, imun@tarantool.org 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)