Fix up the setting up of the build_farm smb.conf from the templates in their
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 May 2003 00:55:52 +0000 (00:55 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 4 May 2003 00:55:52 +0000 (00:55 +0000)
new directory.

Andrew Bartlett
(This used to be commit 98f7ccebeb9369c972b432a8ac0a5853cd7a1bf6)

testsuite/build_farm/basicsmb.fns

index f5143cc4d883e446abef323c0038481565a33533..31e097bd357ac9428a0b42476c58b367f7422e61 100644 (file)
@@ -63,8 +63,16 @@ test_smb_conf_setup() {
     template_smb_conf_setup .preexec_close
     template_smb_conf_setup .preexec_cl_fl
 
+    template_smb_conf_setup .share
+    template_smb_conf_setup .user
+    template_smb_conf_setup .server
+    template_smb_conf_setup .domain
+
     template_setup preexec lib/preexec
 
+    touch $prefix/lib/smb.conf.
+    touch $prefix/lib/smb.conf.localhost
+
        echo "127.0.0.1    localhost">$prefix/lib/lmhosts
        echo "127.0.0.2    BUILDFARM">>$prefix/lib/lmhosts
     echo "127.0.0.3    SHARE">>$prefix/lib/lmhosts
@@ -81,13 +89,6 @@ test_smb_conf_setup() {
 
        echo "127.0.0.1" > $prefix/lib/hosts.equiv
 
-    cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
-    cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
-    cp basicsmb.smb.conf.server $prefix/lib/smb.conf.server
-    cp basicsmb.smb.conf.domain $prefix/lib/smb.conf.domain
-
-    touch $prefix/lib/smb.conf.
-    touch $prefix/lib/smb.conf.localhost
 }
 
 test_smbpasswd() {