Note: As of OpenSSH 3.7p1, the regression tests included in the
releases will work on most supported platforms. The information on
this page is obsolete, and is maintained only for historical purposes.
For information regarding the current OpenSSH regression test suite,
download the current portable OpenSSH
tarball and read the file regress/README.regress.
OpenSSH Portable Regression Tests
Fast start for the impatient
$ CVS_RSH=ssh
$ export CVS_RSH
$ cvs -z3 -d openssh@anoncvs.be.openbsd.org:/cvs get openssh
$ cd openssh
$ lynx -source http://www.zip.com.au/~dtucker/openssh/regress/openssh-regressport2.patch | patch -p0
$ autoreconf
$ ./configure
$ make
$ make tests
If you've alread got a copy of the CVS tree then you can skip steps
1-3.
Details, details
README.regress
These patches are based on Markus Friedl's original OpenBSD
regression tests and include work by Roumen Petrov and myself.
The reasons for the changes can be found in the following threads
in openssh-unix-dev:
diff against OpenBSD
regression test
regressport: diff against
OpenSSH
regressport2: diff against
OpenSSH CVS (updated 2003/01/23)
regressport3: diff against
OpenSSH CVS (updated 2003/06/20)
TODO
Done
- Not all grep's have -q, replace with "grep [foo] >
/dev/null"
- $PATH in Makefile.in needs parentheses for "make clean". Patch
provided by David M. Williams, not yet integrated.
- StrictModes causes the tests to fail on some Cygwin configs,
make
StrictModes no the default.
- Use
/bin/ls${EXEEXT} for the scp test data rather
than /bin/ls (suggested by Corinna Vinschen)
- Skip agent-getpeereid test if HAVE_GETPEEREID is not
defined.

Page last modified: $Date: 2005/02/16 04:18:54 $