From: dtucker Date: Sun, 8 Aug 2021 07:27:52 +0000 (+0000) Subject: Move setting of USER further down the startup In portable we have to X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=efd78a4357d2c1090cde5e42fffd01489609f7ab;p=openbsd Move setting of USER further down the startup In portable we have to change this and having it in the same hunk as the CVS Id string means applying changes fails every. single. time. --- diff --git a/regress/usr.bin/ssh/test-exec.sh b/regress/usr.bin/ssh/test-exec.sh index a0144bc0b06..131f7d6a13e 100644 --- a/regress/usr.bin/ssh/test-exec.sh +++ b/regress/usr.bin/ssh/test-exec.sh @@ -1,7 +1,6 @@ -# $OpenBSD: test-exec.sh,v 1.84 2021/08/08 06:38:33 dtucker Exp $ +# $OpenBSD: test-exec.sh,v 1.85 2021/08/08 07:27:52 dtucker Exp $ # Placed in the Public Domain. -USER=`id -un` #SUDO=sudo if [ ! -x "$TEST_SSH_ELAPSED_TIMES" ]; then @@ -40,6 +39,8 @@ else fi unset SSH_AUTH_SOCK +USER=`id -un` + SRC=`dirname ${SCRIPT}` # defaults