Re: Call for release testing

This is a discussion on Re: Call for release testing within the OpenSSH Development forums, part of the Networking and Network Related category; On Aug 22 20:41, Damien Miller wrote: > Hi, > > We would like to make one of our ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-23-2005
Corinna Vinschen
 
Posts: n/a
Default Re: Call for release testing

On Aug 22 20:41, Damien Miller wrote:
> Hi,
>
> We would like to make one of our periodic releases shortly, so once
> again we are asking for readers of this list (or anyone else) to
> download and test a CVS snapshot of OpenSSH on your favourite
> platforms.
>
> The OpenBSD version is available in CVS HEAD:
> http://www.openbsd.org/anoncvs.html
>
> Portable snapshots are available the mirrors listed at
> http://www.openssh.com/portable.html#ftp in the snapshots/
> subdirectory
>
> Please test! Running the regression tests supplied with Portable does
> not require installation and is a simply:
>
> $ ./configure && make tests


I've tested the CVS version from yesterday on Cygwin 1.5.18 and 1.5.19
(upcoming version).

`autoreconf', `make', `make install' run fine. Installed version works
as expected.

`make tests' *could* run through with no errors, but there's a bug
in regress/test-exec.sh, which results in the testsuite not running:

# Path to sshd must be absolute for rexec
if [ ! -x /$SSHD ]; then
SSHD=`which sshd`
fi

The above test `-x /$SSHD' fails on Cygwin. The reason is that $SSHD
already contains an absolute path. Therefore the evaluated path which
is tested in the above case starts with two leading slashes, like this:

if [ ! -x //usr/src/openssh/build/sshd ]

The problem here is that paths beginning with two slashes are SMB network
paths on Cygwin/Windows. So in the above case, the statement hangs and
eventually fails, because Cygwin searches for a file src/openssh/build/sshd
on the SMB server named "usr".

Please note that this is NOT a bug in Cygwin. Paths beginning with two
slashes being different from paths beginning with one slash are blessed
by SUSv3, see

http://www.opengroup.org/onlinepubs/...bd_chap04.html

Chapter 4.11 "Pathname Resolution", last paragraph:

A pathname consisting of a single slash shall resolve to the root directory
of the process. [...] A pathname that begins with two successive slashes
may be interpreted in an implementation-defined manner, although more than
two leading slashes shall be treated as a single slash.

So the above test should either make sure that the evaluated path
beginns with only one slash, or with more than 2 slashes. The latter
idea looks most easy to implement:

# Path to sshd must be absolute for rexec
if [ ! -x ///$SSHD ]; then
SSHD=`which sshd`
fi


Corinna

--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...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 09:22 AM.


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