From b2f8624c6ccb7240948d0cd158773232013d1d64 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Fri, 04 Apr 2008 09:00:02 +0000
Subject: [PATCH] Major Problem: issue when using NFS path value for TMPDIR variable (staf copy loops for ever  when trying to copy a folder to itself)

---
 opends/tests/system-tests/phases/generateLdif/generateLdif.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/opends/tests/system-tests/phases/generateLdif/generateLdif.xml b/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
index d68f570..a5090d6 100755
--- a/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
+++ b/opends/tests/system-tests/phases/generateLdif/generateLdif.xml
@@ -95,9 +95,9 @@
             LOG_MAIN_FD.write(str)
             
             templateFile = '%s/template.ldif' % \
-                            topoElements[0].getInstanceRef().getInstallDir()
+                            topoElements[0].getInstanceRef().getLogDir()
             ldifFile = '%s/data.ldif' % \
-                        topoElements[0].getInstanceRef().getInstallDir()
+                        topoElements[0].getInstanceRef().getLogDir()
           </script>
           
           
@@ -125,7 +125,7 @@
               <script>
                 sys.path.append("%s/phases/parser" % TESTS_DIR )
                 from parser import *
-                localTemplateFile = '%s/template.ldif' % (LOG_DIR)
+                localTemplateFile = '%s/tmp/template.ldif' % (LOG_DIR)
               </script>
               <call function="'generateTemplate'">
               { 'templateFile' : localTemplateFile }
@@ -161,7 +161,8 @@
             'location'     : topoElements[0].getInstanceRef().getHost(),
             'dsPath'       : topoElements[0].getInstanceRef().getInstallDir(),
             'dsLdifFile'   : ldifFile,
-            'dsRejectFile' : '%s/importLdif_rejectedfile.txt' % LOG_TMP_DIR,
+            'dsRejectFile' : '%s/importLdif_rejectedfile.txt' % \
+                             topoElements[0].getInstanceRef().getLogDir(),
             'fileFd'       : LOG_MAIN_FD
           }
           </call>

--
Gitblit v1.10.0