Deleted Added
full compact
reexec.sh (180751) reexec.sh (214979)
1# $OpenBSD: reexec.sh,v 1.5 2004/10/08 02:01:50 djm Exp $
2# Placed in the Public Domain.
3
4tid="reexec tests"
5
6DATA=/bin/ls${EXEEXT}
7COPY=${OBJ}/copy
8SSHD_ORIG=$SSHD${EXEEXT}

--- 27 unchanged lines hidden (view full) ---

36verbose "test config passing"
37
38cp $OBJ/sshd_config $OBJ/sshd_config.orig
39start_sshd
40echo "InvalidXXX=no" >> $OBJ/sshd_config
41
42copy_tests
43
1# $OpenBSD: reexec.sh,v 1.5 2004/10/08 02:01:50 djm Exp $
2# Placed in the Public Domain.
3
4tid="reexec tests"
5
6DATA=/bin/ls${EXEEXT}
7COPY=${OBJ}/copy
8SSHD_ORIG=$SSHD${EXEEXT}

--- 27 unchanged lines hidden (view full) ---

36verbose "test config passing"
37
38cp $OBJ/sshd_config $OBJ/sshd_config.orig
39start_sshd
40echo "InvalidXXX=no" >> $OBJ/sshd_config
41
42copy_tests
43
44$SUDO kill `cat $PIDFILE`
44$SUDO kill `$SUDO cat $PIDFILE`
45rm -f $PIDFILE
46
47cp $OBJ/sshd_config.orig $OBJ/sshd_config
48
49verbose "test reexec fallback"
50
51start_sshd_copy
52rm -f $SSHD_COPY
53
54copy_tests
55
45rm -f $PIDFILE
46
47cp $OBJ/sshd_config.orig $OBJ/sshd_config
48
49verbose "test reexec fallback"
50
51start_sshd_copy
52rm -f $SSHD_COPY
53
54copy_tests
55
56$SUDO kill `cat $PIDFILE`
56$SUDO kill `$SUDO cat $PIDFILE`
57rm -f $PIDFILE
58
59verbose "test reexec fallback without privsep"
60
61cp $OBJ/sshd_config.orig $OBJ/sshd_config
62echo "UsePrivilegeSeparation=no" >> $OBJ/sshd_config
63
64start_sshd_copy
65rm -f $SSHD_COPY
66
67copy_tests
68
57rm -f $PIDFILE
58
59verbose "test reexec fallback without privsep"
60
61cp $OBJ/sshd_config.orig $OBJ/sshd_config
62echo "UsePrivilegeSeparation=no" >> $OBJ/sshd_config
63
64start_sshd_copy
65rm -f $SSHD_COPY
66
67copy_tests
68
69$SUDO kill `cat $PIDFILE`
69$SUDO kill `$SUDO cat $PIDFILE`
70rm -f $PIDFILE
71
72
70rm -f $PIDFILE
71
72