From 72720d6ea0ec9b340e217986a3e136ef0635bd1f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 12 Sep 2012 19:40:16 +1000 Subject: wintest: Fix --use-ntvfs handling Signed-off-by: Stefan Metzmacher --- wintest/test-s4-howto.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wintest') diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index a2eded64549..c20a4fe963d 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) -- cgit v1.2.1