[PATCH 0 of 1] test suite on solaris

John Coomes John.Coomes at sun.com
Sun Sep 20 23:39:15 CDT 2009


Mads Kiilerich (mads at kiilerich.com) wrote:
> This fix is ugly, but it fixes (what seems to be) the last test failure on
> Solaris.
> 
> Can anyone recommend any other workarounds? If not then please apply it - or
> desupport solaris!

What solaris version are you running?  unsetenv works for me on
solaris 10 (python 2.4.4 and 2.6.1) and opensolaris 2009/06 (python
2.4.4; didn't have 2.6.1 to test).

$ cat unset.py
import os
os.system('echo $x')
os.environ['x']='x'
os.system('echo $x')
os.unsetenv('x')
os.system('echo $x')
$ python unset.py

x

-John



More information about the Mercurial-devel mailing list