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/environment.xml | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/opends/tests/shared/functions/environment.xml b/opends/tests/shared/functions/environment.xml
index 163905a..ec812f2 100755
--- a/opends/tests/shared/functions/environment.xml
+++ b/opends/tests/shared/functions/environment.xml
@@ -123,20 +123,12 @@
</function-prolog>
<sequence>
-
- <!-- Resolve any OS related variables -->
- <call function="'getOSvariables'">
- { 'hostname' : STAF_REMOTE_HOSTNAME }
- </call>
<!-- fixMe: this needs some cleanup -->
<script>
STAXLogMessage = 1
- OPENDS_BINPATH ='%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
- OSName= STAXResult
- winPattern=re.compile('win', re.IGNORECASE)
- isWindows=winPattern.search(OSName)
- if isWindows:
+ OPENDS_BINPATH ='%s/%s/bin' % (DIRECTORY_INSTANCE_DIR,OPENDSNAME)
+ if is_windows_platform(STAF_REMOTE_HOSTNAME):
fileExt='.bat'
fileFolder='bat'
pathSeparator=';'
--
Gitblit v1.10.0