r22625: hopefully fix make test on solaris
authorStefan Metzmacher <metze@samba.org>
Tue, 1 May 2007 03:30:04 +0000 (03:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:51:55 +0000 (14:51 -0500)
metze
(This used to be commit 32c805919faaeeaa0bfd0ede775c7f077bc89cd0)

source4/selftest/Samba4.pm

index 23476754ce2d4f4da9bed903cf5a701c2e7e4df5..23d6c4e0e22be18490753c671d342d5c22730756 100644 (file)
@@ -599,7 +599,7 @@ sub provision($$$$$$)
                die("Failed to create a valid smb.conf configuration!");
        }
 
-       (system("($self->{bindir}/testparm $configuration -v --suppress-prompt --parameter-name=\"netbios name\" --section-name=global 2> /dev/null | grep -i ^$netbiosname ) >/dev/null 2>&1") == 0) or die("Failed to create a valid smb.conf configuration!");
+       (system("($self->{bindir}/testparm $configuration -v --suppress-prompt --parameter-name=\"netbios name\" --section-name=global 2> /dev/null | grep -i \"^$netbiosname\" ) >/dev/null 2>&1") == 0) or die("Failed to create a valid smb.conf configuration!");
 
        my @provision_options = ($configuration);
        push (@provision_options, "--host-name=$netbiosname");