Re: Testing wanted: OpenSSH 4.8

This is a discussion on Re: Testing wanted: OpenSSH 4.8 within the OpenSSH Development forums, part of the Networking and Network Related category; On Sat, Mar 15, 2008 at 21:48:26 +0200, Roumen Petrov wrote: > Corinna Vinschen wrote: > > On ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-17-2008
Iain Morgan
 
Posts: n/a
Default Re: Testing wanted: OpenSSH 4.8

On Sat, Mar 15, 2008 at 21:48:26 +0200, 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>'?
> >
> >
> > 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


Of the platforms I have access to, it looks like 'command -v' would
work. For example, Solaris and AIX have a /bin/command shell script that
does the right thing. Of course, there may still be OS's out there where
'command -v' does not work.

--
Iain Morgan
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0