From 195890726c70d7dbae808b0ea78c16a7d0bf30c5 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
---
opendj-sdk/opends/tests/shared/functions/ldap.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-sdk/opends/tests/shared/functions/ldap.xml b/opendj-sdk/opends/tests/shared/functions/ldap.xml
index ddbde70..1c3c14c 100755
--- a/opendj-sdk/opends/tests/shared/functions/ldap.xml
+++ b/opendj-sdk/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