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/topology.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/tests/shared/functions/topology.xml b/opendj-sdk/opends/tests/shared/functions/topology.xml
index e92311d..d9c341a 100755
--- a/opendj-sdk/opends/tests/shared/functions/topology.xml
+++ b/opendj-sdk/opends/tests/shared/functions/topology.xml
@@ -387,13 +387,18 @@
                   </message>
                   <script>
                     opends_jarfile='%s/%s' % (TMPDIR,SNMP_OPENDS_JARFILE)
+                    
+                    if is_windows_platform(STAXServiceMachine):
+                      separator=';'
+                    else:
+                      separator=':'
                   </script>
                   <call function="'compileJava'" >
                     {
                     'location'   : STAXServiceMachine,
                     'foldername' : javaLocalDir,
                     'classpath'  : '%s%s%s%s%s' \
-                    % (opends_jarfile,pathSeparator,SNMP_OPENDMK_JARFILE,pathSeparator,jstaf_jarfile)
+                    % (opends_jarfile,separator,SNMP_OPENDMK_JARFILE,separator,jstaf_jarfile)
                     }
                   </call>
                   

--
Gitblit v1.10.0