From: Nathan S. <ns...@sg...> - 2003-03-28 21:55:15
|
On Fri, Mar 28, 2003 at 04:39:09PM -0600, Paul Larson wrote: > On Fri, 2003-03-28 at 13:17, Robert Williamson wrote: > > Below are the only "errors" your should see when building the LTP. In most > > of these cases, the filename was required, and since mkstemp() only returns > > an fd, I couldn't use it.......without having to do more testcase > > re-writing than I wanted to. However, to all who wish to see a complete > > "error free" LTP compile, I'm willing to accept your patches ;) > > actually we used to have a lot more of these. I went through and > cleaned them all (I thought) up a long time ago. Either these tests > have been added since then or I missed a few. If I get a chance I'll > try to go back and get these too. FYI, the library function tst_tmpdir() uses mkdtemp() when possible. Other wise it uses mkstemp() and replaces the file with a directory. Test cases should be using tst_tmpdir() where possible. -- Nate Straz ns...@sg... sgi, inc http://www.sgi.com/ Linux Test Project http://ltp.sf.net/ |