- (dtucker) [regress/reexec.sh regress/sftp-cmds.sh regress/test-exec.sh]
Move cygwin detection to test-exec and use to skip reexec test on cygwin.
This commit is contained in:
parent
369ceedce2
commit
ec1e15d51a
|
@ -19,6 +19,8 @@
|
||||||
- dtucker@cvs.openbsd.org 2012/07/02 14:37:06
|
- dtucker@cvs.openbsd.org 2012/07/02 14:37:06
|
||||||
[regress/connect-privsep.sh]
|
[regress/connect-privsep.sh]
|
||||||
remove exit from end of test since it prevents reporting failure
|
remove exit from end of test since it prevents reporting failure
|
||||||
|
- (dtucker) [regress/reexec.sh regress/sftp-cmds.sh regress/test-exec.sh]
|
||||||
|
Move cygwin detection to test-exec and use to skip reexec test on cygwin.
|
||||||
|
|
||||||
20120629
|
20120629
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
|
|
|
@ -46,6 +46,9 @@ rm -f $PIDFILE
|
||||||
|
|
||||||
cp $OBJ/sshd_config.orig $OBJ/sshd_config
|
cp $OBJ/sshd_config.orig $OBJ/sshd_config
|
||||||
|
|
||||||
|
# cygwin can't fork a deleted binary
|
||||||
|
if [ "$os" != "cygwin" ]; then
|
||||||
|
|
||||||
verbose "test reexec fallback"
|
verbose "test reexec fallback"
|
||||||
|
|
||||||
start_sshd_copy
|
start_sshd_copy
|
||||||
|
@ -69,4 +72,4 @@ copy_tests
|
||||||
$SUDO kill `$SUDO cat $PIDFILE`
|
$SUDO kill `$SUDO cat $PIDFILE`
|
||||||
rm -f $PIDFILE
|
rm -f $PIDFILE
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
|
@ -17,20 +17,6 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if have_prog uname
|
|
||||||
then
|
|
||||||
case `uname` in
|
|
||||||
CYGWIN*)
|
|
||||||
os=cygwin
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
os=`uname`
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
else
|
|
||||||
os="unknown"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Path with embedded quote
|
# Path with embedded quote
|
||||||
QUOTECOPY=${COPY}".\"blah\""
|
QUOTECOPY=${COPY}".\"blah\""
|
||||||
QUOTECOPY_ARG=${COPY}'.\"blah\"'
|
QUOTECOPY_ARG=${COPY}'.\"blah\"'
|
||||||
|
|
|
@ -12,6 +12,13 @@ OSF1*)
|
||||||
BIN_SH=xpg4
|
BIN_SH=xpg4
|
||||||
export BIN_SH
|
export BIN_SH
|
||||||
;;
|
;;
|
||||||
|
CYGWIN_5.0)
|
||||||
|
os=cygwin
|
||||||
|
TEST_SSH_IPV6=no
|
||||||
|
;;
|
||||||
|
CYGWIN*)
|
||||||
|
os=cygwin
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ ! -z "$TEST_SSH_PORT" ]; then
|
if [ ! -z "$TEST_SSH_PORT" ]; then
|
||||||
|
|
Loading…
Reference in New Issue