From 787dd9dc124cf39eec423a6c20537d2c3ba28c75 Mon Sep 17 00:00:00 2001
From: gary_williams <gary_williams@localhost>
Date: Mon, 12 Nov 2007 17:31:55 +0000
Subject: [PATCH] Use absolute path to java command
---
opends/tests/shared/functions/ldap.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/tests/shared/functions/ldap.xml b/opends/tests/shared/functions/ldap.xml
index ddbde70..1c3c14c 100755
--- a/opends/tests/shared/functions/ldap.xml
+++ b/opends/tests/shared/functions/ldap.xml
@@ -2752,7 +2752,7 @@
</script>
<call function="'runCommand'" >
{ 'name' : 'Modify An Attribute value',
- 'command' : 'java',
+ 'command' : '%s/bin/java' % JAVA_HOME,
'arguments' : '%s %s' % (STAFCmd,STAFCmdParams),
'location' : location,
'path' : '%s/../%s' % (dsPath,relativeJavaDir),
@@ -3005,7 +3005,7 @@
</script>
<call function="'runCommand'" >
{ 'name' : 'Add New Entry',
- 'command' : 'java',
+ 'command' : '%s/bin/java' % JAVA_HOME,
'arguments' : '%s %s' % (STAFCmd,STAFCmdParams),
'location' : location,
'env' : ['PATH=/bin:/usr/bin:%s/bin' % dsPath, 'JAVA_HOME=%s' % JAVA_HOME,'CLASSPATH=%s/../%s' % (dsPath,relativeJavaDir)],
@@ -3124,7 +3124,7 @@
</script>
<call function="'runCommand'" >
{ 'name' : 'Modify DN',
- 'command' : 'java',
+ 'command' : '%s/bin/java' % JAVA_HOME,
'arguments' : '%s %s' % (STAFCmd,STAFCmdParams),
'location' : location,
'env' : ['PATH=/bin:/usr/bin:%s/bin' % dsPath, 'JAVA_HOME=%s' % JAVA_HOME,'CLASSPATH=%s/../%s' % (dsPath,relativeJavaDir)],
--
Gitblit v1.10.0