From f07e716d061c7aecabbdcb3b11e868102c43c81d Mon Sep 17 00:00:00 2001 From: anton Date: Wed, 3 Apr 2024 06:01:11 +0000 Subject: [PATCH] Since ssh-agent(1) is only readable by root by now, use ssh(1) while generating data in tests. --- regress/usr.bin/ssh/test-exec.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index 8edccfd5afb..ee9be54b54e 100644 --- a/regress/usr.bin/ssh/test-exec.sh +++ b/regress/usr.bin/ssh/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 @@ -243,14 +243,14 @@ ssh_logfile () # [kbytes] to ensure the file is at least that large. DATANAME=data DATA=$OBJ/${DATANAME} -cat ${SSHAGENT} >${DATA} +cat ${SSH} >${DATA} COPY=$OBJ/copy rm -f ${COPY} increase_datafile_size() { while [ `du -k ${DATA} | cut -f1` -lt $1 ]; do - cat ${SSHAGENT} >>${DATA} + cat ${SSH} >>${DATA} done } -- 2.20.1