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

Cyril Hrubis chrubis@suse.cz
Tue Oct 31 12:07:33 CET 2017


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list