From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Wed, 17 Mar 2021 10:54:31 +0100 Subject: [LTP] [PATCH] open_posix: Remove hardcoded /tmp In-Reply-To: References: <20210316130036.1838169-1-lkml@jv-coder.de> <4e99e625-07f1-e0c1-ab23-30f0ee8e59ef@jv-coder.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > > > In fact useless, and nobody cares about the temp file name. > > > But that'll make naming make some sense or tidy, IMO. > > > > > > I just decided to keep it, so files, that are not deleted > > > automatically > > > can be identified as belonging to the test. > > > If I would implement this, then only in the macro definition. > > > > > > > > > If I was the author, prefer to do that in macro definition too:). > > If it makes you happy, I think this can be done while merging. > > > > Patch applied with two minor tweaks. Thanks! Can we please fix the macro name? The open posix testsuite uses PTS_ prefix instead of LTP_. Also the tempfile.h header should have GPLv2-or-later SPDX header. -- Cyril Hrubis chrubis@suse.cz