Pending OpenSSH release, call for testing.

Peter Stuge stuge-openssh-unix-dev at cdy.org
Mon Aug 16 03:51:34 EST 2004


On Sun, Aug 15, 2004 at 12:34:03AM -0400, Jason McCormick wrote:
> Anyone else out there with Gentoo able to complete 'make tests' to
> rule out my box being crazy?

I also run Gentoo. First, autoreconf says: (but works)

autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader-2.59: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59: 
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a
template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59: 
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59: 		[Define if a function `main' is needed.])
autoheader-2.59: 
autoheader-2.59: WARNING: More sophisticated templates can also be
produced, see the
autoheader-2.59: WARNING: documentation.

..then, make tests fail on yes-head: (patch attached)

run test yes-head.sh ...
head: -2000' option is obsolete; use -n 2000'
Try ead --help' for more information.
yes|head returns 0 lines instead of 2000
head: -2000' option is obsolete; use -n 2000'
Try ead --help' for more information.
yes|head returns 0 lines instead of 2000
failed yes pipe head

..after I patch, dynamic-forward is skipped:

run test dynamic-forward.sh ...
skipped (no suitable ProxyCommand found)

..but make tests doesn't fail.


//Peter
-------------- next part --------------
Index: yes-head.sh
===================================================================
RCS file: /cvs/openssh/regress/yes-head.sh,v
retrieving revision 1.3
diff -u -r1.3 yes-head.sh
--- yes-head.sh	12 Sep 2003 20:21:14 -0000	1.3
+++ yes-head.sh	15 Aug 2004 17:44:24 -0000
@@ -4,7 +4,7 @@
 tid="yes pipe head"
 
 for p in 1 2; do
-	lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -2000"' | (sleep 3 ; wc -l)`
+	lines=`${SSH} -$p -F $OBJ/ssh_proxy thishost 'sh -c "while true;do echo yes;done | head -n 2000"' | (sleep 3 ; wc -l)`
 	if [ $? -ne 0 ]; then
 		fail "yes|head test failed"
 		lines = 0;


More information about the openssh-unix-dev mailing list