Re: [4/4] msi/tests: Fix package test when run on a different drive than C:\.

2009-04-21 Thread James Hawkins
On Tue, Apr 21, 2009 at 2:51 PM, Nicolas Le Cam wrote: > 2009/4/21 James Hawkins : >> On Tue, Apr 21, 2009 at 2:30 PM, Nicolas Le Cam wrote: >>> This one finally fixes current relative path test to expect correct >>> value. >>> >> >> +    drives = GetLogicalDrives(); >> +    lstrcpyA(path, "A:\\"

Re: [4/4] msi/tests: Fix package test when run on a different drive than C:\.

2009-04-21 Thread Nicolas Le Cam
2009/4/21 James Hawkins : > On Tue, Apr 21, 2009 at 2:30 PM, Nicolas Le Cam wrote: >> This one finally fixes current relative path test to expect correct >> value. >> > > +    drives = GetLogicalDrives(); > +    lstrcpyA(path, "A:\\"); > +    for (i = 0; i < 26; path[0] = '\0', i++) > +    { > +  

Re: [4/4] msi/tests: Fix package test when run on a different drive than C:\.

2009-04-21 Thread James Hawkins
On Tue, Apr 21, 2009 at 2:30 PM, Nicolas Le Cam wrote: > This one finally fixes current relative path test to expect correct > value. > +drives = GetLogicalDrives(); +lstrcpyA(path, "A:\\"); +for (i = 0; i < 26; path[0] = '\0', i++) +{ +if (!(drives & (1 << i))) +