[LTP] [PATCH 08/18] creat08: ensure test directories are created in /tmp/

Punit Agrawal punit.agrawal@arm.com
Tue Oct 31 13:46:02 CET 2017


Cyril Hrubis <chrubis@suse.cz> writes:

> Hi!
>> runltp runs tests in the ${LTP_ROOT}/bin directory. If this is NFS
>> mounted, we can run into problems that need to use setgid. Fix this by
>> ensuring that creat08 creates directories in /tmp/
>
> The test setup calls tst_tmpdir() which creates temporary directory in
> /tmp/ and changes $PWD to point into it. So these directories has to be
> created in /tmp/. If that is not the case something is wrong with the
> test.

Hah.. it looks like we are carrying this one around since before
tst_tmpdir() was used. Another reason to try and track upstream as
closely as we can.

I'll drop this from the next version after confirming that it is no
longer needed.


More information about the ltp mailing list