From 8a2e109ceb3c6f6053b845d43ce74f284b8766ca Mon Sep 17 00:00:00 2001
From: Christophe Sovant <christophe.sovant@forgerock.com>
Date: Mon, 19 May 2008 17:53:33 +0000
Subject: [PATCH] Fix SNMP tests compilation issue on Windows
---
opends/tests/shared/functions/snmp.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/tests/shared/functions/snmp.xml b/opends/tests/shared/functions/snmp.xml
index e7d30c0..c36aa6d 100755
--- a/opends/tests/shared/functions/snmp.xml
+++ b/opends/tests/shared/functions/snmp.xml
@@ -154,7 +154,7 @@
snmpPath = '%s/%s/snmp' % (DIRECTORY_INSTANCE_DIR, relativeJavaDir)
cp = 'CLASSPATH=%s/%s:%s/jdmkrt.jar:.' % (DIRECTORY_INSTANCE_DIR,SNMP_OPENDS_JARFILE, snmpPath)
- if isWindows:
+ if is_windows_platform(location):
cp = cp.replace(':', ';')
env = ['JAVA_HOME=%s' % JAVA_HOME, '%s' % cp]
@@ -311,7 +311,7 @@
snmpPath = '%s/%s/snmp' % (DIRECTORY_INSTANCE_DIR, relativeJavaDir)
cp = 'CLASSPATH=%s/%s:%s/jdmkrt.jar:.' % (DIRECTORY_INSTANCE_DIR,SNMP_OPENDS_JARFILE, snmpPath)
- if isWindows:
+ if is_windows_platform(location):
cp = cp.replace(':', ';')
env = ['JAVA_HOME=%s' % JAVA_HOME, '%s' % cp]
@@ -422,7 +422,7 @@
cp = 'CLASSPATH=%s/%s:%s/jdmkrt.jar:%s:.' \
% (DIRECTORY_INSTANCE_DIR,SNMP_OPENDS_JARFILE, snmpPath, jstaf_jarfile)
- if isWindows:
+ if is_windows_platform(location):
cp = cp.replace(':', ';')
env = ['JAVA_HOME=%s' % JAVA_HOME, '%s' % cp]
--
Gitblit v1.10.0