Testing wanted: OpenSSH 4.8

Roumen Petrov openssh at roumenpetrov.info
Sun Mar 16 06:48:26 EST 2008


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>'?
> 
> 
> Corinna
> 


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


If "which" is problem on some platforms may be "command -v" work on them ?

Roumen


More information about the openssh-unix-dev mailing list