summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-12 19:40:16 +1000
committerStefan Metzmacher <metze@samba.org>2012-09-12 16:51:29 +0200
commit72720d6ea0ec9b340e217986a3e136ef0635bd1f (patch)
treedf48b6ce06b0787529184e162dc0b86f31521864
parentee4d1c406208d67aaa949934da78cd350e69ccf0 (diff)
downloadsamba-72720d6ea0ec9b340e217986a3e136ef0635bd1f.tar.gz
samba-72720d6ea0ec9b340e217986a3e136ef0635bd1f.tar.bz2
samba-72720d6ea0ec9b340e217986a3e136ef0635bd1f.zip
wintest: Fix --use-ntvfs handling
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rwxr-xr-xwintest/test-s4-howto.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index a2eded6454..c20a4fe963 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -38,9 +38,11 @@ def provision_s4(t, func_level="2008"):
'--host-ip=${INTERFACE_IP}',
'--option=bind interfaces only=yes',
'--option=rndc command=${RNDC} -c${PREFIX}/etc/rndc.conf',
- '${USE_NTVFS}',
'--dns-backend=${NAMESERVER_BACKEND}',
'${DNS_FORWARDER}']
+ if t.getvar('USE_NTVFS'):
+ provision.append('${USE_NTVFS}')
+
if t.getvar('INTERFACE_IPV6'):
provision.append('--host-ip6=${INTERFACE_IPV6}')
t.run_cmd(provision)