OpenSSH 4.7: call for testing.

Pekka Savola pekkas at netcore.fi
Thu Aug 16 07:37:18 EST 2007


On Thu, 16 Aug 2007, Darren Tucker wrote:
> Running the regression tests supplied with Portable does not require
> installation and is a simply:
>
> $ ./configure && make tests

On CentOS 5 on i386, I see the following warnings:

mac.c: In function 'mac_compute':
mac.c:131: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
ssh.c: In function 'control_client':
ssh.c:1475: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'
readconf.c: In function 'process_config_line':
readconf.c:695: warning: dereferencing type-punned pointer will break strict-aliasing rules
servconf.c: In function 'process_server_config_line':
servconf.c:979: warning: dereferencing type-punned pointer will break strict-aliasing rules
servconf.c:990: warning: dereferencing type-punned pointer will break strict-aliasing rules
sftp.c: In function 'parse_dispatch_command':
sftp.c:1031: warning: 'n_arg' may be used uninitialized in this function
sftp.c:1030: warning: 'iflag' may be used uninitialized in this function
sftp.c:1030: warning: 'lflag' may be used uninitialized in this function
sftp.c:1030: warning: 'pflag' may be used uninitialized in this function

Make tests fails with the following:

...
run test login-timeout.sh ...
ssh: connect to host 127.0.0.1 port 4242: Connection refused
ssh connect after login grace timeout failed without privsep
failed connect after login grace timeout
make[1]: *** [t-exec] Error 1

I ran this as a regular user.  My configure flags were 
--with-tcp-wrappers --with-md5-passwords 
--with-privsep-path=/var/empty/sshd.

HTH..

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings


More information about the openssh-unix-dev mailing list