From ca43d4b783ca687c688de8261dec27e75f2f0ff0 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Mon, 18 Dec 2006 20:48:19 +0000
Subject: [PATCH] Added an additional test case for the CLEAR password storage scheme.
---
opends/tests/functional-tests/testcases/security/pwd_storage/security_pwd_CLEAR.xml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/opends/tests/functional-tests/testcases/security/pwd_storage/security_pwd_CLEAR.xml b/opends/tests/functional-tests/testcases/security/pwd_storage/security_pwd_CLEAR.xml
index fa5b1b6..2f51cf5 100755
--- a/opends/tests/functional-tests/testcases/security/pwd_storage/security_pwd_CLEAR.xml
+++ b/opends/tests/functional-tests/testcases/security/pwd_storage/security_pwd_CLEAR.xml
@@ -119,6 +119,31 @@
</sequence>
</testcase>
+ <!--- Test Case : Check Password-->
+ <testcase name="'Security: Pwd Storage CLEAR: Check Pwd'">
+ <sequence>
+ <call function="'SearchObject'">
+ { 'dsInstanceHost' : DIRECTORY_INSTANCE_HOST ,
+ 'dsInstancePort' : DIRECTORY_INSTANCE_PORT ,
+ 'dsInstanceDn' : DIRECTORY_INSTANCE_DN ,
+ 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD ,
+ 'dsBaseDN' : 'uid=jwalker,ou=people,ou=password tests,o=Pwd Storage Tests,dc=example,dc=com' ,
+ 'dsFilter' : 'objectclass=*' ,
+ 'attributes' : 'userpassword' }
+ </call>
+
+ <script>
+ returnString = STAXResult[0][1]
+ </script>
+
+ <call function="'checktestString'">
+ { 'returnString' : returnString ,
+ 'expectedString' : 'CLEARdogleg' }
+ </call>
+
+ </sequence>
+ </testcase>
+
<!--- Test case: Admin Reset To SSHA Storage Scheme -->
<testcase name="'Security: Pwd Storage CLEAR: Postamble'">
<sequence>
--
Gitblit v1.10.0