diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | regress/reexec.sh | 5 | ||||
-rw-r--r-- | regress/sftp-cmds.sh | 14 | ||||
-rw-r--r-- | regress/test-exec.sh | 7 |
4 files changed, 13 insertions, 15 deletions
@@ -19,6 +19,8 @@ | |||
19 | - dtucker@cvs.openbsd.org 2012/07/02 14:37:06 | 19 | - dtucker@cvs.openbsd.org 2012/07/02 14:37:06 |
20 | [regress/connect-privsep.sh] | 20 | [regress/connect-privsep.sh] |
21 | remove exit from end of test since it prevents reporting failure | 21 | remove exit from end of test since it prevents reporting failure |
22 | - (dtucker) [regress/reexec.sh regress/sftp-cmds.sh regress/test-exec.sh] | ||
23 | Move cygwin detection to test-exec and use to skip reexec test on cygwin. | ||
22 | 24 | ||
23 | 20120629 | 25 | 20120629 |
24 | - OpenBSD CVS Sync | 26 | - OpenBSD CVS Sync |
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 | |||
46 | 46 | ||
47 | cp $OBJ/sshd_config.orig $OBJ/sshd_config | 47 | cp $OBJ/sshd_config.orig $OBJ/sshd_config |
48 | 48 | ||
49 | # cygwin can't fork a deleted binary | ||
50 | if [ "$os" != "cygwin" ]; then | ||
51 | |||
49 | verbose "test reexec fallback" | 52 | verbose "test reexec fallback" |
50 | 53 | ||
51 | start_sshd_copy | 54 | start_sshd_copy |
@@ -69,4 +72,4 @@ copy_tests | |||
69 | $SUDO kill `$SUDO cat $PIDFILE` | 72 | $SUDO kill `$SUDO cat $PIDFILE` |
70 | rm -f $PIDFILE | 73 | rm -f $PIDFILE |
71 | 74 | ||
72 | 75 | fi | |
diff --git a/regress/sftp-cmds.sh b/regress/sftp-cmds.sh index d10d01a31..2e0300e16 100644 --- a/regress/sftp-cmds.sh +++ b/regress/sftp-cmds.sh | |||
@@ -17,20 +17,6 @@ do | |||
17 | fi | 17 | fi |
18 | done | 18 | done |
19 | 19 | ||
20 | if have_prog uname | ||
21 | then | ||
22 | case `uname` in | ||
23 | CYGWIN*) | ||
24 | os=cygwin | ||
25 | ;; | ||
26 | *) | ||
27 | os=`uname` | ||
28 | ;; | ||
29 | esac | ||
30 | else | ||
31 | os="unknown" | ||
32 | fi | ||
33 | |||
34 | # Path with embedded quote | 20 | # Path with embedded quote |
35 | QUOTECOPY=${COPY}".\"blah\"" | 21 | QUOTECOPY=${COPY}".\"blah\"" |
36 | QUOTECOPY_ARG=${COPY}'.\"blah\"' | 22 | QUOTECOPY_ARG=${COPY}'.\"blah\"' |
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 092cfed5b..514fffb16 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -12,6 +12,13 @@ OSF1*) | |||
12 | BIN_SH=xpg4 | 12 | BIN_SH=xpg4 |
13 | export BIN_SH | 13 | export BIN_SH |
14 | ;; | 14 | ;; |
15 | CYGWIN_5.0) | ||
16 | os=cygwin | ||
17 | TEST_SSH_IPV6=no | ||
18 | ;; | ||
19 | CYGWIN*) | ||
20 | os=cygwin | ||
21 | ;; | ||
15 | esac | 22 | esac |
16 | 23 | ||
17 | if [ ! -z "$TEST_SSH_PORT" ]; then | 24 | if [ ! -z "$TEST_SSH_PORT" ]; then |