[master] f921816 Make SSH destination a parameter (so we can run on tools) Don't request a TTY
Poul-Henning Kamp
phk at FreeBSD.org
Fri Nov 18 22:45:04 CET 2016
commit f921816d89b6a0e20d5cf63da1d539558a1e7a5a
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Nov 18 21:43:58 2016 +0000
Make SSH destination a parameter (so we can run on tools)
Don't request a TTY
diff --git a/tools/vtest.sh b/tools/vtest.sh
index 0aff2f4..cf4b10a 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -44,6 +44,8 @@ WAITPERIOD=60 # unit: Seconds
WAITGOOD=60 # unit: WAITPERIOD
WAITBAD=1 # unit: WAITPERIOD
+SSH_DST="-p 203 vtest at varnish-cache.org"
+
#######################################################################
if ! (cd varnish-cache 2>/dev/null) ; then
@@ -100,9 +102,10 @@ submit () (
-o StrictHostKeyChecking=no \
-o PasswordAuthentication=no \
-o NumberOfPasswordPrompts=0 \
+ -o RequestTTY=no \
-i vt_key \
- -p 203 \
- vtest at varnish-cache.org < ${1}
+ ${SSH_DST} \
+ < ${1}
)
rm -f _report.tgz
More information about the varnish-commit
mailing list