From 5e2af74d8fcb6d9de1acf3b9d094bb208cb12a48 Mon Sep 17 00:00:00 2001
From: andrug <andrug@localhost>
Date: Fri, 14 Dec 2007 10:55:53 +0000
Subject: [PATCH] add extraParam option for ldapSearchWithScript()
---
opends/tests/shared/functions/ldap.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/opends/tests/shared/functions/ldap.xml b/opends/tests/shared/functions/ldap.xml
index 426d048..086ec49 100755
--- a/opends/tests/shared/functions/ldap.xml
+++ b/opends/tests/shared/functions/ldap.xml
@@ -906,6 +906,12 @@
</function-arg-description>
<function-arg-property name="type" value="dn"/>
</function-arg-def>
+ <function-arg-def name="extraParams" type="optional">
+ <function-arg-description>
+ Optional extra parameters for specific test cases
+ </function-arg-description>
+ <function-arg-property name="type" value="string"/>
+ </function-arg-def>
<function-arg-def name="dsFilter" type="optional">
<function-arg-description>
The filter for the search operation
@@ -1075,6 +1081,9 @@
if dsSizeLimit:
STAFCmdParamsList.append('-z %s' % dsSizeLimit)
+
+ if extraParams:
+ STAFCmdParamsList.append('%s' % extraParams)
if dsFilter:
STAFCmdParamsList.append('"%s"' % dsFilter)
--
Gitblit v1.10.0