upstream: Since ssh-agent(1) is only readable by root by now, use
ssh(1) while generating data in tests. OpenBSD-Regress-ID: 24eb40de2e6b0ace185caaba35e2d470331ffe68
This commit is contained in:
parent
92e5589031
commit
a68f80f251
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: test-exec.sh,v 1.109 2024/03/25 01:28:29 dtucker Exp $
|
||||
# $OpenBSD: test-exec.sh,v 1.110 2024/04/03 06:01:11 anton Exp $
|
||||
# Placed in the Public Domain.
|
||||
|
||||
#SUDO=sudo
|
||||
|
@ -348,7 +348,7 @@ ssh_logfile ()
|
|||
# [kbytes] to ensure the file is at least that large.
|
||||
DATANAME=data
|
||||
DATA=$OBJ/${DATANAME}
|
||||
cat ${SSHAGENT_BIN} >${DATA}
|
||||
cat ${SSH_BIN} >${DATA}
|
||||
chmod u+w ${DATA}
|
||||
COPY=$OBJ/copy
|
||||
rm -f ${COPY}
|
||||
|
@ -356,7 +356,7 @@ rm -f ${COPY}
|
|||
increase_datafile_size()
|
||||
{
|
||||
while [ `du -k ${DATA} | cut -f1` -lt $1 ]; do
|
||||
cat ${SSHAGENT_BIN} >>${DATA}
|
||||
cat ${SSH_BIN} >>${DATA}
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue