I added Jon's patch and rewrote Canonicalize() - the use of Path.GetFullPath
doesn't work for the cases where NUnit needs to have a canonical relative
path. I've parameterized the tests so they run in both Windows and Unix
modes.

I'm not quite ready to do a full release but you can get the fixed source at
http://nunit.com/downloads/nunit-2.2.6.1-src.zip - sorry, no ftp access at
this site.

Charlie

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Jonathan Pryor
> Sent: Sunday, January 29, 2006 7:11 AM
> To: Charlie Poole
> Cc: mono-devel-list@lists.ximian.com
> Subject: SPAM-LOW: RE: SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6 
> Portability Bug
> 
> On Sat, 2006-01-28 at 18:15 -0800, Charlie Poole wrote:
> > Hi Jonathan,
> > I'll write a test. :-)
> >  
> > > PathRelativePathTo: this variation on your PathUtils.RelativePath 
> > > works for me (minimally tested):
> > 
> > This looks too simple to work, but I'll try it. ;-)
> 
> Attached is a better version, complete with test cases.  The 
> previous function was Unix-native -- it didn't care about 
> drives or other such things that I found in PathUtilTests.cs. 
>  The attached version is a little smarter, though it means we 
> can't use the same input strings on both Unix and Windows for 
> testing -- we need platform-specific tests. :-(
> 
>  - Jon
> 
> 
> 



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to