From 20bcb90225bdf7afe9daac1b9ad7343196af9400 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

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

diff --git a/opendj-sdk/opends/tests/shared/functions/utils.xml b/opendj-sdk/opends/tests/shared/functions/utils.xml
index a9ba108..94792a5 100755
--- a/opendj-sdk/opends/tests/shared/functions/utils.xml
+++ b/opendj-sdk/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