Pending OpenSSH release, call for testing.

Damien Miller djm at mindrot.org
Fri Aug 13 20:18:36 EST 2004


Darren Tucker wrote:
> Corinna Vinschen wrote:
> 
>>The testsuite fails on Cygwin in the "pass multiple env, accept multiple env"
>>test in envpass.sh.  I don't know why since it's no problem to send
>>env. variables usually.
> 
> 
> I took a quick look.  The failure is a little earlier at "test 
> environment passing: pass env, don't accept".  It looks like a false 
> alarm, but I'm not sure what to do other than skip this test on Cygwin.
> 
> $  make tests LTESTS=envpass
> [...]
> run test envpass.sh ...
> test environment passing: pass env, don't accept
> environment found
> test environment passing: don't pass env, accept
> test environment passing: pass single env, accept single env
> test environment passing: pass multiple env, accept multiple env
> failed environment passing
> 
> This appears to be due to this fragment of session.c:
> 
> #ifdef HAVE_CYGWIN
>          /*
>           * The Windows environment contains some setting which are
>           * important for a running system. They must not be dropped.
>           */
>          copy_environment(environ, &env, &envsize);

I'd really like to see this restricted to copy just the environment
variables that are needed.

-d




More information about the openssh-unix-dev mailing list