Fix server trust in test run of svn.latest

Add missing --trust-server-cert option while running svn.latest in test=True mode
This commit is contained in:
Vincas Dargis 2016-11-27 15:29:16 +02:00 committed by GitHub
parent f39fdf443f
commit 072a319490

View file

@ -102,6 +102,10 @@ def latest(name,
('{0} doesn\'t exist and is set to be checked out.').format(target))
svn_cmd = 'svn.diff'
opts += ('-r', 'HEAD')
if trust:
opts += ('--trust-server-cert',)
out = __salt__[svn_cmd](cwd, target, user, username, password, *opts)
return _neutral_test(
ret,