From bd94b4be5a55d9789bb7a76038d05190b32dfecb Mon Sep 17 00:00:00 2001
From: mkeyes <mkeyes@localhost>
Date: Thu, 01 Nov 2007 13:40:56 +0000
Subject: [PATCH] Fixed a bug in the stress tests where one test suite could not have the proper library path.

---
 opends/tests/stress-tests/testcases/import_ldif/import_ldif_tasks_bin_attr_with_load.xml |    1 +
 opends/tests/shared/functions/ldap.xml                                                   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/tests/shared/functions/ldap.xml b/opends/tests/shared/functions/ldap.xml
index cc86c7f..ddbde70 100755
--- a/opends/tests/shared/functions/ldap.xml
+++ b/opends/tests/shared/functions/ldap.xml
@@ -2902,6 +2902,7 @@
               'dsInstancePort'         : DIRECTORY_INSTANCE_PORT ,
               'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
               'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
+              'dsPath'                 : dsPath ,
               'DNToModify'             : curr_dn ,
               'attributeName'          : 'description' ,
               'newAttributeValue'      : 'New description for %s' % curr_dn ,
diff --git a/opends/tests/stress-tests/testcases/import_ldif/import_ldif_tasks_bin_attr_with_load.xml b/opends/tests/stress-tests/testcases/import_ldif/import_ldif_tasks_bin_attr_with_load.xml
index 337618a..0d19d08 100755
--- a/opends/tests/stress-tests/testcases/import_ldif/import_ldif_tasks_bin_attr_with_load.xml
+++ b/opends/tests/stress-tests/testcases/import_ldif/import_ldif_tasks_bin_attr_with_load.xml
@@ -198,6 +198,7 @@
                             'dsInstancePort'         : DIRECTORY_INSTANCE_PORT ,
                             'dsInstanceDn'           : DIRECTORY_INSTANCE_DN ,
                             'dsInstancePswd'         : DIRECTORY_INSTANCE_PSWD ,
+                            'dsPath'                 : '%s/..' % DIRECTORY_INSTANCE_DIR ,
                             'partialDNToModify'      : 'ou=People,dc=com' ,
                             'attributeName'          : 'description' ,
                             'newAttributeValue'      : 'Modify load forever' ,

--
Gitblit v1.10.0