windows selftest rev 1372

Alexey Shamrin shamrin at gmail.com
Fri Oct 28 23:30:14 BST 2005


On 28/10/05, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alexey Shamrin wrote:
> > Here is one small fix to get 15 errors on windows (instead of 16):
> > This is because on Windows HOME is usually not set.
>
> It looks like a more correct fix would be to unset HOME, instead of
> setting it to ''.  I've attached a fix to do that.  Does it work equally
> well?

Your fix is more correct and works just fine, making the first test
("Test logs are captured when a test fails.  ") run OK.

> By the way, does GNU diff (not bzr diff) on Windows use backslashes or
> forward slashes?

* diff that comes bundled with vim64 (gnu diff 2.7) use backslashes "\".
* diff that comes bundled with Cygwin (gnu diff 2.8.7) use forward
slashes "/" (But I think Cygwin should be considered as a separate
platform)
* diff that comes with GnuWin32 (gnu diff 2.8.7 too) use forward slashes "/"

Probably it depends of gnu diff version, or maybe it can be configured
when compiling. I don't know.

--
Alexey




More information about the bazaar mailing list