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
| 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
| 6DATA=/bin/ls${EXEEXT}
|
7COPY=${OBJ}/copy
| 7COPY=${OBJ}/copy
|
8SSHD_ORIG=$SSHD 9SSHD_COPY=$OBJ/sshd
| 8SSHD_ORIG=$SSHD${EXEEXT} 9SSHD_COPY=$OBJ/sshd${EXEEXT}
|
10 11# Start a sshd and then delete it 12start_sshd_copy () 13{ 14 cp $SSHD_ORIG $SSHD_COPY 15 SSHD=$SSHD_COPY 16 start_sshd 17 SSHD=$SSHD_ORIG
--- 55 unchanged lines hidden --- | 10 11# Start a sshd and then delete it 12start_sshd_copy () 13{ 14 cp $SSHD_ORIG $SSHD_COPY 15 SSHD=$SSHD_COPY 16 start_sshd 17 SSHD=$SSHD_ORIG
--- 55 unchanged lines hidden --- |