From: anton@openbsd.org Date: Wed, 3 Apr 2024 06:01:11 +0000 (+0000) Subject: upstream: Since ssh-agent(1) is only readable by root by now, use X-Git-Tag: V_9_8_P1~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a68f80f2511f0e0c5cef737a8284cc2dfabad818;p=thirdparty%2Fopenssh-portable.git upstream: Since ssh-agent(1) is only readable by root by now, use ssh(1) while generating data in tests. OpenBSD-Regress-ID: 24eb40de2e6b0ace185caaba35e2d470331ffe68 --- diff --git a/regress/test-exec.sh b/regress/test-exec.sh index d7b9f6ca8..eae286ebf 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh @@ -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 }