wintest: Fix --use-ntvfs handling
authorAndrew Bartlett <abartlet@samba.org>
Wed, 12 Sep 2012 09:40:16 +0000 (19:40 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Sep 2012 14:51:29 +0000 (16:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
wintest/test-s4-howto.py

index a2eded6..c20a4fe 100755 (executable)
@@ -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)