From ec20330e2db5767fdfcaf4760f38e4dbe3732229 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Sat, 28 Jun 2008 08:37:25 +0000
Subject: [PATCH] QA: System Test: add monitoring client, configure snmp for opends instances
---
opends/tests/system-tests/phases/shared/functions/opendsadm.xml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/opends/tests/system-tests/phases/shared/functions/opendsadm.xml b/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
index 6a02aab..953532b 100755
--- a/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
+++ b/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
@@ -131,7 +131,13 @@
<script>
STAFCmdParamsList=[]
STAFCmdParams=''
-
+
+ # define environment variables
+ env = []
+ env.append('PATH=/bin:/usr/bin:%s' % dsBinPath)
+ env.append('JAVA_HOME=%s' % JAVA_HOME)
+ env.append('OPENDS_JAVA_HOME=%s' % JAVA_HOME)
+
if dsPath:
STAFCmd='%s/setup' % (dsPath)
STAFCmdParamsList.append('--cli')
--
Gitblit v1.10.0