Backport changes from head to shorten the filenames of the test cases.
authorPaul Green <paulg@samba.org>
Wed, 23 Apr 2003 17:15:10 +0000 (17:15 +0000)
committerPaul Green <paulg@samba.org>
Wed, 23 Apr 2003 17:15:10 +0000 (17:15 +0000)
(This used to be commit e2315ebc9a653a3c804323d55a96e0b378351e8d)

testsuite/build_farm/basicsmb.fns
testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.invalidusers.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.preexec.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.preexec_close.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.template [deleted file]
testsuite/build_farm/basicsmb.smb.conf.validusers.template [deleted file]
testsuite/build_farm/preexec.template [deleted file]

index bb17770..4410fef 100644 (file)
@@ -22,7 +22,7 @@
 # says it's not done consistently.
 
 template_setup() {
-       cat $1.template | \
+       cat template/$1 | \
               sed "s|PREFIX|$prefix|g" | \
              sed "s|BUILD_FARM|$test_root|g" | \
              sed "s|WHOAMI|$whoami|g" | \
@@ -52,13 +52,16 @@ test_smb_conf_setup() {
        exit 1
     esac
 
+#   Please keep these names under 15 characters,
+#   so that the final name is 31 characters or fewer.
+
     template_smb_conf_setup 
     template_smb_conf_setup .hostsequiv
     template_smb_conf_setup .validusers
     template_smb_conf_setup .invalidusers
     template_smb_conf_setup .preexec
     template_smb_conf_setup .preexec_close
-    template_smb_conf_setup .preexec_cl_fail
+    template_smb_conf_setup .preexec_cl_fl
 
     template_setup preexec lib/preexec
 
diff --git a/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template b/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template
deleted file mode 100644 (file)
index 750af74..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-       hostname lookups = no 
-       hosts equiv=PREFIX/lib/hosts.equiv
-       auth methods = hostsequiv
diff --git a/testsuite/build_farm/basicsmb.smb.conf.invalidusers.template b/testsuite/build_farm/basicsmb.smb.conf.invalidusers.template
deleted file mode 100644 (file)
index a96a316..0000000
+++ /dev/null
@@ -1 +0,0 @@
-      invalid users = WHOAMI
diff --git a/testsuite/build_farm/basicsmb.smb.conf.preexec.template b/testsuite/build_farm/basicsmb.smb.conf.preexec.template
deleted file mode 100644 (file)
index cc34872..0000000
+++ /dev/null
@@ -1 +0,0 @@
-preexec = /bin/sh PREFIX/lib/preexec
diff --git a/testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template b/testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template
deleted file mode 100644 (file)
index 4a6fae5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-preexec close = yes
-preexec = PREFIX/lib/preexec_does_not_exist
diff --git a/testsuite/build_farm/basicsmb.smb.conf.preexec_close.template b/testsuite/build_farm/basicsmb.smb.conf.preexec_close.template
deleted file mode 100644 (file)
index 3aac699..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-preexec close = yes
-preexec = /bin/sh PREFIX/lib/preexec
diff --git a/testsuite/build_farm/basicsmb.smb.conf.template b/testsuite/build_farm/basicsmb.smb.conf.template
deleted file mode 100644 (file)
index 9b8483d..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-[global]
-    netbios name = BUILDFARM
-    workgroup = TESTWG
-    log level = LOGLEVEL
-    debug timestamp = no
-    encrypt passwords = yes
-    server string = Samba %v Build Farm Tests
-    name resolve order = lmhosts
-    guest account = WHOAMI
-    domain logons = yes
-
-    strict locking = yes
-
-    include = PREFIX/lib/smb.conf.%L
-
-    add machine script = useradd %u -d /dev/null -s /bin/false
-
-    panic action = /bin/sh BUILD_FARM/samba/testsuite/build_farm/backtrace %d
-
-    passdb backend = smbpasswd_nua
-
-    non unix account range = 10000-200000
-    map hidden = yes
-    create mask = 0777
-
-[test]
-    path = PREFIX/testdir
-    read only = no
-
-[samba]
-    path = BUILD_FARM/samba
-    read only = yes
-    comment = Samba HEAD Sources
-
-[samba_2_2]
-    path = BUILD_FARM/samba_2_2
-    read only = yes
-    comment = Samba 2.2. Sources
-
-[rsync]
-    path = BUILD_FARM/rsync
-    read only = yes
-    comment = Rsync Sources
-
-[guest_share]
-    path = PREFIX
-    guest ok = yes
-    read only = yes
-    comment = Unauthenticated share for use in share level test
diff --git a/testsuite/build_farm/basicsmb.smb.conf.validusers.template b/testsuite/build_farm/basicsmb.smb.conf.validusers.template
deleted file mode 100644 (file)
index d4a85e0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-      valid users = WHOAMI
diff --git a/testsuite/build_farm/preexec.template b/testsuite/build_farm/preexec.template
deleted file mode 100644 (file)
index e417d6a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-echo "Test worked" > PREFIX/testdir/preexec_touch