]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Since ssh-agent(1) is only readable by root by now, use
authoranton@openbsd.org <anton@openbsd.org>
Wed, 3 Apr 2024 06:01:11 +0000 (06:01 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 17 May 2024 04:41:39 +0000 (14:41 +1000)
ssh(1) while generating data in tests.

OpenBSD-Regress-ID: 24eb40de2e6b0ace185caaba35e2d470331ffe68

regress/test-exec.sh

index d7b9f6ca8efd4852087521bd537d68966e64da2a..eae286ebfe224e519070d1261af54f5832eb8577 100644 (file)
@@ -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
 }