summaryrefslogtreecommitdiff
path: root/regress/reexec.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-07-03 01:06:49 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-07-03 01:06:49 +1000
commitec1e15d51a202c95a6414375ae71c461a16ff870 (patch)
tree298f3072383bb517dfb52a79313e0cd8610b1355 /regress/reexec.sh
parent369ceedce24474f50a7934e4ff8515cdc312b268 (diff)
- (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.
Diffstat (limited to 'regress/reexec.sh')
-rw-r--r--regress/reexec.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/reexec.sh b/regress/reexec.sh
index 6edfc318..9464eb69 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