Move build farm template files to their own subdirectory so that their
authorPaul Green <paulg@samba.org>
Wed, 23 Apr 2003 11:11:55 +0000 (11:11 +0000)
committerPaul Green <paulg@samba.org>
Wed, 23 Apr 2003 11:11:55 +0000 (11:11 +0000)
names can be shortened to 30 characters. Helps Stratus VOS, which has a
32-character file name limit.
(This used to be commit 58a4be041ee92434672959b9df888cf1366bb02e)

testsuite/build_farm/basicsmb.fns
testsuite/build_farm/template/basicsmb.smb.conf [moved from testsuite/build_farm/basicsmb.smb.conf.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.hostsequiv [moved from testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.invalidusers [moved from testsuite/build_farm/basicsmb.smb.conf.invalidusers.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.preexec [moved from testsuite/build_farm/basicsmb.smb.conf.preexec.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.preexec_cl_fl [moved from testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.preexec_close [moved from testsuite/build_farm/basicsmb.smb.conf.preexec_close.template with 100% similarity]
testsuite/build_farm/template/basicsmb.smb.conf.validusers [moved from testsuite/build_farm/basicsmb.smb.conf.validusers.template with 100% similarity]
testsuite/build_farm/template/preexec [moved from testsuite/build_farm/preexec.template with 100% similarity]

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