From ec1e15d51a202c95a6414375ae71c461a16ff870 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 3 Jul 2012 01:06:49 +1000 Subject: - (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. --- regress/reexec.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'regress/reexec.sh') diff --git a/regress/reexec.sh b/regress/reexec.sh index 6edfc318e..9464eb699 100644 --- a/regress/reexec.sh +++ b/regress/reexec.sh @@ -46,6 +46,9 @@ rm -f $PIDFILE cp $OBJ/sshd_config.orig $OBJ/sshd_config +# cygwin can't fork a deleted binary +if [ "$os" != "cygwin" ]; then + verbose "test reexec fallback" start_sshd_copy @@ -69,4 +72,4 @@ copy_tests $SUDO kill `$SUDO cat $PIDFILE` rm -f $PIDFILE - +fi -- cgit v1.2.3