summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2015-01-13 08:23:27 +0000
committerDamien Miller <djm@cvs.openbsd.org>2015-01-13 08:23:27 +0000
commit55cbca45ed2f53d877a8ccfb44f359bd8fd81526 (patch)
treeeaabbbaf546d063bd1a0574deabab137a061b7e1 /regress
parent07c8c34c52ff5f28bd5c55c2ae32367ff726ab44 (diff)
use $SSH instead of installed ssh to allow override; spotted by markus@
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/keygen-change.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/keygen-change.sh b/regress/usr.bin/ssh/keygen-change.sh
index dda54d04b58..04a0d54fca7 100644
--- a/regress/usr.bin/ssh/keygen-change.sh
+++ b/regress/usr.bin/ssh/keygen-change.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: keygen-change.sh,v 1.3 2015/01/12 11:12:38 djm Exp $
+# $OpenBSD: keygen-change.sh,v 1.4 2015/01/13 08:23:26 djm Exp $
# Placed in the Public Domain.
tid="change passphrase for key"
@@ -6,7 +6,7 @@ tid="change passphrase for key"
S1="secret1"
S2="2secret"
-for t in `ssh -Q key-plain` ; do
+for t in `${SSH} -Q key-plain` ; do
# generate user key for agent
trace "generating $t key"
rm -f $OBJ/$t-key