hi On Thu, 2015-03-12 at 10:44 +0100, Cyril Hrubis wrote: > Hi! > > > This looks more like TBROK as well. And even better the test should use > > > tst_tmpdir() and tst_rmdir() to create temporary directories. > > sorry, I don't know how to replace the $TMP/tacl by tst_rmdir() function > > in this test. > > any detail instruction here? > > The tst_tmpdir() creates an unique test temporary directory and changes > the working directory to it. > > The testcases usually call tst_tmpdir() in the setup and then proceed > with creating temporary files with local paths so that they end up > creating files in the working directory. > > The temporary directory is then deleted recursively with tst_rmdir() in > test cleanup. > Thank you for response quickly.
This case has a bit complex work flow. In the testing phase, it does the test under root then change to a new account and does the ACL test, also, the case initialized work not only dose in setup() but also in other place. I lean towards letting it as the original sample. Anyway, I will post a V3 patch. If you or someone still think that even better to use tst_tmpdir, feel free to modify in the V3. :) Li Wang ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list