From 8e68b9626c70a31c6f5a075a9c8be3840efe2455 Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 26 May 2008 08:30:57 +0000
Subject: [PATCH] Fix problem with SNMP tests on Windows and add timeout for trap tests

---
 opends/tests/shared/functions/utils.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/opends/tests/shared/functions/utils.xml b/opends/tests/shared/functions/utils.xml
index a9ba108..94792a5 100755
--- a/opends/tests/shared/functions/utils.xml
+++ b/opends/tests/shared/functions/utils.xml
@@ -2025,8 +2025,13 @@
 
       <!-- Build the command -->
       <script>
+        if is_windows_platform(location):
+          separator=';'
+        else:
+          separator=':'
+        
         if classpath:
-          cp = 'CLASSPATH=%s%s.' % (classpath, pathSeparator)
+          cp = 'CLASSPATH=%s%s.' % (classpath, separator)
         else:
           cp = 'CLASSPATH=.'
         

--
Gitblit v1.10.0