From 7f4bbbd1c087dd12d983449c48d0844d5ceb9888 Mon Sep 17 00:00:00 2001
From: al_xipe <al_xipe@localhost>
Date: Fri, 13 Jul 2007 12:36:51 +0000
Subject: [PATCH] fix for non posix environments

---
 opends/tests/functional-tests/shared/functions/environment.xml |    2 +-
 opends/tests/functional-tests/shared/functions/utils.xml       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/functional-tests/shared/functions/environment.xml b/opends/tests/functional-tests/shared/functions/environment.xml
index 2c4d6d9..155ead2 100755
--- a/opends/tests/functional-tests/shared/functions/environment.xml
+++ b/opends/tests/functional-tests/shared/functions/environment.xml
@@ -83,7 +83,7 @@
       <!-- Load in any standard python libraries -->
       <script>
         import re
-        import posixpath
+        import os
         import sys
       </script>
 
diff --git a/opends/tests/functional-tests/shared/functions/utils.xml b/opends/tests/functional-tests/shared/functions/utils.xml
index 2ab6a0e..8349234 100755
--- a/opends/tests/functional-tests/shared/functions/utils.xml
+++ b/opends/tests/functional-tests/shared/functions/utils.xml
@@ -703,7 +703,7 @@
       <message>'Creating test log %s' % logfile</message>
      
       <script>
-        NewLogDir=posixpath.dirname(logfile)
+        NewLogDir=os.path.dirname(logfile)
       </script>
       
       <call function="'createFolder'">

--
Gitblit v1.10.0