[Mono-bugs] [Bug 326983] DirectoryInfo.MoveTo has unexpected side effects

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 20 18:40:31 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=326983#c2





--- Comment #2 from Erik Jensen <ejensen at novell.com>  2007-09-20 16:40:31 MST ---
Here is the output of the test I ran:

erikrj at ether ~/tmp $ mono MoveTo.exe /home/erikrj/foomonkey/
/tmp/foomonkeyCreating directory /home/erikrj/foomonkey/
Attempting to move /home/erikrj/foomonkey/ to /tmp/foomonkey
Path  is a directory
  at System.IO.Directory.Move (System.String sourceDirName, System.String
destDirName) [0x00000] 
  at System.IO.DirectoryInfo.MoveTo (System.String dest) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:MoveTo
(string)
  at MoveTo.Main (System.String[] args) [0x00000] 
/tmp/foomonkey exists, but should not have been created

The /tmp/foomonkey file didn't exist before the test and shouldn't have been
created.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list