From: SourceForge.net <no...@so...> - 2007-03-23 12:43:13
|
Bugs item #1427780, was opened at 2006-02-08 18:41 Message generated for change (Comment added) made by subrata_modak You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1427780&group_id=3382 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Testcases Group: System Calls >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Patrick Wyzorski (pwyzorski) Assigned to: Martin Ridgeway (mridge) Summary: link07 fails after 1st envocation when TDIRECTORY is set Initial Comment: 1. Set the TDIRECTORY environmental variable. 2. Run link07 system calls testcase 3. Run link07 again 4. Note error; "link07 1 BROK : mkdir(2) of testdir_1 failed" When TDIRECTORY is set the testcases will not clean up after themselves well -- note logic in tst_tmpdir.c, tst_tmpdir() function. As such, when link07 attempts to run the second time it will try to create a 2nd testdir_1 folder in TDIRECTORY and fail since one already exists. I imagine that any of the testcases that write out to disk will leave behind debris in TDIRECTORY when it is set. Opinion: Wouldn't it be better for the tst_tmpdir.c to create subfolders for individual testcases under TDIRECTORY (when it is set) and then remove the subfolders upon clean up. regards, ~Patrick ---------------------------------------------------------------------- >Comment By: Subrata (subrata_modak) Date: 2007-03-23 12:43 Message: Logged In: YES user_id=1737361 Originator: NO Hi Patrick, The issue is fixed and cleanup will now be done. Please check the attached output and logs. Thanks-- Subrata File Added: logs-output-link07.tar ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=103382&aid=1427780&group_id=3382 |