Testing wanted: OpenSSH 4.8

Corinna Vinschen vinschen at redhat.com
Mon Mar 17 01:27:04 EST 2008


On Mar 15 21:48, Roumen Petrov wrote:
> Corinna Vinschen wrote:
> > On Mar 15 09:23, Damien Miller wrote:
> >> On Thu, 13 Mar 2008, Tim Rice wrote:
> >>> On Thu, 13 Mar 2008, Damien Miller wrote:
> >>>> Either way, please try this diff:
> >>>> -	*) PLINK=`which ${TEST_SSH_PLINK}` ;;
> >>>> +	*) PLINK=`which ${TEST_SSH_PLINK} 2>/dev/null` ;;
> >>> You can not expect which to be on all platforms.
> >> We already use `which` for determining an absolute path to sshd in
> >> test-exec.sh. Do you have an alternative?
> > 
> > Shouldn't all POSIX compliant shells understand `type -p <cmd>'?
> 
> in ksh:
> $ type -p ssh
> ssh is a tracked alias for /usr/bin/ssh
> 
> in ash:
> $ type -p ssh
> -p: not found
> ssh is /usr/bin/ssh

Maybe `type <cmd> | awk '{print $NF}'` but then again we would have to
check if every supported system has awk.  That's a never ending story.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat


More information about the openssh-unix-dev mailing list