diff options
Diffstat (limited to 'regress/reexec.sh')
-rw-r--r-- | regress/reexec.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/regress/reexec.sh b/regress/reexec.sh index 5c0a7b46f..72957d4cd 100644 --- a/regress/reexec.sh +++ b/regress/reexec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: reexec.sh,v 1.8 2015/03/03 22:35:19 markus Exp $ | 1 | # $OpenBSD: reexec.sh,v 1.10 2016/12/16 01:06:27 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="reexec tests" | 4 | tid="reexec tests" |
@@ -39,8 +39,7 @@ echo "InvalidXXX=no" >> $OBJ/sshd_config | |||
39 | 39 | ||
40 | copy_tests | 40 | copy_tests |
41 | 41 | ||
42 | $SUDO kill `$SUDO cat $PIDFILE` | 42 | stop_sshd |
43 | rm -f $PIDFILE | ||
44 | 43 | ||
45 | cp $OBJ/sshd_config.orig $OBJ/sshd_config | 44 | cp $OBJ/sshd_config.orig $OBJ/sshd_config |
46 | 45 | ||
@@ -54,8 +53,7 @@ rm -f $SSHD_COPY | |||
54 | 53 | ||
55 | copy_tests | 54 | copy_tests |
56 | 55 | ||
57 | $SUDO kill `$SUDO cat $PIDFILE` | 56 | stop_sshd |
58 | rm -f $PIDFILE | ||
59 | 57 | ||
60 | verbose "test reexec fallback without privsep" | 58 | verbose "test reexec fallback without privsep" |
61 | 59 | ||
@@ -67,7 +65,6 @@ rm -f $SSHD_COPY | |||
67 | 65 | ||
68 | copy_tests | 66 | copy_tests |
69 | 67 | ||
70 | $SUDO kill `$SUDO cat $PIDFILE` | 68 | stop_sshd |
71 | rm -f $PIDFILE | ||
72 | 69 | ||
73 | fi | 70 | fi |