From 21ca279be285e13afdbaddc1dae4de073a8442ec Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Mon, 30 Jun 2008 12:28:44 +0000
Subject: [PATCH] QA: System Test: fix setupDsWithScript

---
 opends/tests/system-tests/phases/shared/functions/opendsadm.xml |    3 ++-
 1 files changed, 2 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 953532b..f8cd2c7 100755
--- a/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
+++ b/opends/tests/system-tests/phases/shared/functions/opendsadm.xml
@@ -134,7 +134,7 @@
         
         # define environment variables
         env = []
-        env.append('PATH=/bin:/usr/bin:%s' % dsBinPath)
+        env.append('PATH=/bin:/usr/bin:%s' % dsPath)
         env.append('JAVA_HOME=%s' % JAVA_HOME)
         env.append('OPENDS_JAVA_HOME=%s' % JAVA_HOME)
         
@@ -192,6 +192,7 @@
           'command'   : STAFCmd,
           'arguments' : STAFCmdParams,
           'path'      : dsPath,
+          'env'       : env,
           'fileFd'    : fileFd
         }
       </call>

--
Gitblit v1.10.0